New York Attorney General Letitia James is getting to be something of a pain in the neck to President Donald Trump. That, in part, is the fulfillment of a campaign pledge she made in 2018: To be a counterforce to the Trump administration. 

She presided over the dismantling of the president's charity, the Trump Foundation. She's launched a legal challenge to sue the National Rifle Association into oblivion. And on Monday she took legal action to compel the president's son to comply with a subpoena, revealing an investigation into Trump's real estate dealings in the process. 

Here's a quick Q and A on James, the office she holds and what she's doing with it. 

1. Who is Letitia James?

James is a graduate of Howard University and the first black woman to the hold the post of attorney general. She was elected in 2018 after Barbara Underwood served out the remainder of disgraced former Attorney General Eric Schneiderman was elected to in 2014. 

James has served as a state Assembly aide and later was elected to the New York City Council. Her election caused a stir given she won it as a member of the progressive Working Families Party and later changed her enrollment back to the Democratic Party. 

In 2013, she became a city-wide elected official and was elected to the New York City public advocate's office. For there, James became a reliable critic of the man who vacated that job: New York City Mayor Bill de Blasio. 

James was among the crowded field of Democrats to run for the nomination in 2018 to replace Schneiderman after his resignation amid abuse accusations. 

But unlike her first successful bid for New York City Council, this time she had institutional backing: She was the clear favorite of Gov. Andrew Cuomo. At the time, Cuomo was facing a Democratic primary challenge from Cynthia Nixon and the prospect of a consistent critic, Zephyr Teachout, winning the AG's primary. 

James, like Cuomo, won the Sept. 13 primary. 

2. What has James done with the AG's office?

The attorney general's office in New York is often incorrectly referred to as the chief law enforcement officer in New York. That's not true. Very stricktly speaking, the AG is the top legal officer in New York. 

And, as noted above, it's an independently elected job, not an appointed position like in the federal government. 

And traditionally the job has been rather sleepy one: The attorney general represents New York, namely the executive branch, in lawsuits and legal challenges. For years, that was the job. Then came Eliot Spitzer and the scope and expectations of what was possible under the attorney general's office drastically changed. 

Spitzer took on the banks. Cuomo as AG took on student lenders. Schneiderman was involved in mortgage fraud. 

The highest profile issues James has tackled often involve the Trump administration on issues like opposing the implementation of various environmental and immigration policies. This is not dissimilar from efforts by Republican attorneys general during the Obama administration, suing to block the enactment of measures like the Affordable Care Act. 

James's highest profile victories in office have included the dissolution of the Trump Foundation, a charity the Trump family maintained that was revealed to have been used to further the president's campaign in 2016. This year, she's filed a lawsuit that would take a similar track: the end of the National Rifle Association after an investigation alleged the gun rights group's leadership was enriching itself.

3. Does James want to be governor?

The joked around Albany is that "AG" now stands for "aspiring governor." 

It's not clear if James is interested in the job: Cuomo for now is ensconced in the governor's office for another two years and has signaled he intends to run for a fourth term. 

But in politics things are unpredictable. No one thought a WFP candidate could win a City Counci seat. No one thought Eric Schneiderman would go down in scandal. What's next for Tish James? Just keep an eye on the legal filings.