This story originally appeared on PA Post.

—

This year, voters in Pennsylvania will elect judges, county commissioners, district attorneys, mayors, school board members and other local leaders.

There will also be special elections for two state Senate seats and one U.S. congressional seat on May 21, the same day as the municipal primary.

Here are the key dates for the 2019 municipal primary and general election, as well as what you need to know about the special elections.

Key dates for the primary

March 12: Last day to circulate and file nomination petitions to appear on the May 21 primary ballot.

March 27: Last for day candidates to withdraw from the primary.

April 22: If you aren’t registered to vote, this day is your last chance to do so if you want to vote in the May 21 primary.

May 14: Last day to apply for a civilian absentee ballot for the primary — although it’s wise to apply earlier because of the state’s tight absentee ballot law.

May 17: Last day for a county board of elections to receive voted civilian absentee ballots.

May 21: Voting day for the municipal primary.

May 28: Last day for a county board of elections to receive voted military and overseas absentee ballots.