Alexandria Ocasio-Cortez pulled off the political upset of the primary season when she defeated long-serving House Rep. Joe Crowley in New York’s federal Democratic primaries in June.

Actress and activist Cynthia Nixon came up short against incumbent Andrew Cuomo in a high-profile and heated Democratic gubernatorial primary race.

But women still won on Thursday. New York City public advocate Letitia James emerged from a four-way race for the Democratic nomination for state attorney general race, and she will be the first black woman to hold the job if she wins in November. Democratic socialist candidate Julia Salazar also emerged victorious over Martin Dilan in a key state senate race in another win for the left.

New York’s Democrats look likely to emerge victorious in their fight to take control of state government in November.

Polls closed at 9 pm Eastern. Live results, powered by Decision Desk, are below.