On April 26, 2016, in the presidential primaries, voters selected the Democratic, Republican, and Green parties' respective nominees for president. Pennsylvania is a closed primary state, meaning voters must have been previously registered with a particular political party in order to vote for one of that parties' candidates, to participate in their respective party primary.[1]
In the general election, Donald Trump, the Republican nominee, won Pennsylvania by 44,292 votes out of more than 6 million cast, a margin of 0.72% and the narrowest margin in a presidential election since 1840, when William Henry Harrison defeated Martin Van Buren by just 0.12%. Pennsylvania voted 2.82% more Republican than the nation-at-large, marking the first time since 1948 that it voted to the right of the nation.
Before the election, Pennsylvania was expected to be close as polling showed the results within the margin of error, but many election experts viewed that Clinton had an edge.[2][3] However, on Election Day, Pennsylvania unexpectedly swung to Donald Trump. Trump carried 56 of the state's 67 counties, predominantly rural or suburban counties, while Clinton carried much of the Philadelphia metropolitan area as well as other cities including Pittsburgh, Harrisburg and Scranton. Nonetheless, some areas of traditional Democratic strength such as Luzerne County, where Wilkes-Barre is located, saw swings in margins of up to 25% toward Donald Trump. He was the first Republican nominee for president to win the state of Pennsylvania since George H. W. Bush in 1988.
^"Clinton Has Solid Lead in Electoral College; Trump's Winning Map Is Unclear". The New York Times. November 6, 2016. Retrieved October 30, 2018. The final nonpartisan live interview polls there show Mrs. Clinton ahead by a comfortable margin of four to six points. The state will probably be close, but it's quite clear that she has the edge.