The field was wide open, with voters set to pick their first new mayor since 2013.

Democratic candidates — including Brooklyn Borough President Eric Adams, former Mayor Bill de Blasio counsel Maya Wiley, Comptroller Scott Stringer and former presidential hopeful Andrew Yang — raced across the five boroughs to pitch New Yorkers on their vision.

On the Republican side, Guardian Angel founder and longtime radio personality Curtis Sliwa squared off against former President Trump-supporting businessman Fernando Mateo.

And on the neighborhood level, the City Council was poised to get its most diverse set of lawmakers in history.

Here are some images from an election year destined to shape the city’s future:

Credit: Ben Fractenberg/THE CITY

Wiley kicked off her campaign outside the Brooklyn Museum more than a year before election day.


Credit: Hiram Alejandro Durán/THE CITY

Yang also hit the trail early, traveling to Staten Island in February.


Credit: Ben Fractenberg/THE CITY

Sliwa framed his run around changing direction from the policies of the city and state’s then two biggest leaders.


Credit: Hiram Alejandro Durán/THE CITY

Former Department of Sanitation Commissioner Kathryn Garcia worked to connect with voters during an outdoor movie in Astoria Park.


Credit: Ben Fractenberg/THE CITY

A young supporter of Democratic mayoral hopeful Dianne Morales attended a rally in Jackson Heights.


Credit: Ben Fractenberg/THE CITY

Adams rallied outside his Flatbush campaign headquarters a day before the primary.


Credit: Ben Fractenberg/THE CITY

Wiley connected with voters before the June vote.


Credit: Hiram Alejandro Durán/THE CITY

Adams supporters started the celebration early during his primary party in Williamsburg.


Credit: Ben Fractenberg/THE CITY

Women City Council candidates and advocates rallied in City Hall Park in support of more female leadership.


Credit: Ben Fractenberg/THE CITY

Republican challenger Curtis Sliwa invited the media into the tiny Manhattan apartment he shares with his wife and an ever-growing number of rescue cats.


Credit: Ben Fractenberg/THE CITY

An anti-vaccination protester tried to disrupt an Adams rally outside Brooklyn Borough Hall.


Credit: Ben Fractenberg/THE CITY

Sliwa’s Midtown campaign headquarters practiced safety first.


Credit: Ben Fractenberg/THE CITY

Adams greeted voters, and a few non-voters, outside the Jackie Robinson School in Crown Heights on Election Day.


Credit: Hiram Alejandro Durán/ THE CITY

Sliwa didn’t let getting hit by a taxi stop him from campaigning on Election Day in Dyker Heights, Brooklyn.


Credit: Hiram Alejandro Durán/THE CITY

A Brooklynite brought their best friend to vote.


Credit: Hiram Alejandro Durán/ THE CITY

An ebullient Adams celebrated his early victory call in Downtown Brooklyn.


Credit: Christopher Alvarez/THE CITY

Felicia Singh supporters consoled the losing Council candidate outside her Election Day party in southeast Queens.


Credit: Ben Fractenberg/THE CITY

Board of Elections workers slogged through the arduous task of counting absentee ballots.


Credit: Katie Honan/THE CITY

Adams started to enjoy his new title at the post-election Somos conference in Puerto Rico.