New York City's Primary Day, Sept. 12, is quickly approaching.

Polls will open at 6 a.m. and close at 9 p.m. in districts throughout the five boroughs. Only voters who are registered with a political party can vote on the ballots.

Polling locations can be found online, including on the city’s Board of Elections website, or by calling 866-868-3692.

State Attorney General Eric Schneiderman’s office will have a hotline for anyone who experiences problems at the polls during the day, 1-800-771-7755. Voters can also email their complaints to his office at civil.rights@ag.ny.gov.

Mayor Bill de Blasio is up for re-election, as are Public Advocate Letitia James and city Comptroller Scott Stringer. All five borough presidents are vying to keep their positions, though only Bronx Borough President Ruben Diaz, Jr. is facing a challenger from within his own party.

Here are some of the Primary Day races to know about:

Mayor - Democrats 

Bill de Blasio, incumbent

Sal Albanese

Robert Gangi

Richard Bashner

Mike Tolkin

Collin Slattery

Joel Rodriguez

Public Advocate - Democrats

Letitia James, incumbent

David Eisenbach

Bronx borough president - Democrats

Ruben Diaz, Jr., incumbent

Camella Pinkney-Price

Brooklyn district attorney - Democrats

Eric Gonzalez, acting incumbent

Patricia Gatling

Anne Swern

Vincent Gentile

Stephanie Ama-Dwimoh

Marc Fliedner