Letitia “Tish” James defeated three of her rivals in a hotly contested race in New York’s Democratic Primary for attorney general on Thursday becoming the first Black woman to win a major party’s nomination in the state, The New York Times reports.

James, 59, serves as New York City’s public advocate and is highly favored to win in November against her Republican opponent, Keith Wofford, 49, who ran unopposed on Thursday.

The public advocate came out swinging at President Donald Trump at her victory speech. It is expected that if she wins, she will use the officer to oppose his policies.

“This campaign was never really about me or any of the candidates who ran,” said James. “It was about the people, but mostly it was about that man in the White House who can’t go a day without threatening our fundamental rights.”

James defeated Representative Sean Patrick Maloney, law professor Zephyr Teachout and Leecia Eve, another Black woman, who was a former aide to Hillary Clinton.

If James wins in November, she would be the first woman elected to be New York’s attorney general and the first Black woman to hold statewide office.

In May, former attorney general Eric Schneiderman resigned from the position after he was accused by four women of being violent toward them.

Barbara Underwood, New York’s state solicitor general, was appointed by the state’s legislature to serve out the rest of Schneiderman’s term as attorney general. She was the first woman to hold the position and chose not to run for the seat.

In another race across the state, Gov. Andrew Cuomo trounced actress and activist Cynthia Nixon in the Democratic primary for governor, beating her by 30 percentage points, according to the Times.

Cuomo, like James, is heavily favored to win in November’s midterm elections.