Polls across Pennsylvania closed at 8 p.m., and votes across the state are now being tallied.
The marquee race in the primary election was that for the Democratic nomination in the race for governor.
Businessman Tom Wolf is considered the front-runner after having poured $10 million of his own money into an ad campaign. His rivals are U.S. Rep. Allyson Schwartz, state Treasurer Rob McCord and former state environmental protection secretary Katie McGinty.
The Democratic nominee will take on Republican Gov. Tom Corbett in the Nov. 4 election.
Behind that high-profile race, five candidates are aiming to win the No. 2 spot on the general election ticket.
The winner of the lieutenant governor's race in Tuesday's primary will be the running mate of whomever Democrats nominate to take on Corbett.
The candidates are former U.S. Rep. Mark Critz, of Johnstown; Harrisburg City Councilman Brad Koplinski; Pa. Rep. Brandon Neuman, of Washington County; Bradford County Commissioner Mark Smith; and Pa. Sen. Mike Stack, of Philadelphia.
No clear front-runner emerged during the campaign, but Stack raised the most money -- more than $1 million.
The lieutenant governor's duties include presiding over the state Senate. Benefits include a three-story house with a swimming pool, a state vehicle and a salary of nearly $158,000.
Voters will also decide five Congressional races:
In the 8th District, which includes parts of Bucks and Montgomery counties, Democrats will choose Kevin Strouse or Shaughnessy Naughton to face Republican Mike Fitzpatrick.
In the 16th District, which includes parts of Berks, Chester and Lancaster counties, Democrats Raja Kittappa and Tom Houghton are running. The winner will face Republican Joe Pitts.
In the 17th District, which includes parts of Carbon, Lackawanna, Luzerne, Monroe, Northampton and Schuylkill counties, the highest vote-getting Republican among David Moylan, Matt Connolly and Matthew Dietz will face Democrat Matt Cartwright.
In the 13th District, which includes parts of Montgomery and Philadelphia counties, there will be a new face in Washington. The incumbent, Allyson Schwartz, decided not to run for re-election and instead is in the Democratic race for governor.
Bev Plosa-Bowser and Carson Adcock are facing off in the Republican primary; Brendan Boyer, Val Arkoosh, Marjorie Margolis and Daylin Leach are running in Democratic primary.
For a complete list of the races and candidates for each county, go to WFMZ's Election Central.