NEW YORK (AP) — Letitia James, a longtime New York City politician with ties to both the state's underclass and its elites, has beaten three other candidates in a Democratic primary for attorney general. And now she is turning her sights on the man she saw as her real opponent: President Donald Trump.

For the 59-year-old former public defender, history is at stake, too. She would become the first black woman to hold a statewide elected office in New York if she prevails in the general election, where she will be heavily favored.

The winner in November will inherit several pending lawsuits filed by the state that challenge Trump's policies and accuse his charitable foundation of breaking the law.