Letitia “Tish” James became the first woman and first person of color elected to the powerful post of New York attorney general on Tuesday, inheriting a portfolio of high-profile litigation from her predecessor including challenges to Trump administration policies and a probe of the Trump Foundation.

James, a Democrat, who as New York City public advocate showed a taste for litigation to vindicate the rights of city residents, will now become the state’s top litigator starting in January.