NBC News now projects Donald Trump to win Pennsylvania and its 20 electoral votes, bringing him beyond the 270 electoral votes needed to win the presidency.
The eyes of the country turned to Pennsylvania as it was one of the remaining battleground states, and a must-win for Hillary Clinton after Trump's victories in other battleground states.
NBC News previously said Pennsylvania was still too close to call. Meanwhile, Trump was named the apparent winner of Florida, Ohio, North Carolina and other key battleground states, increasing his running lead over Clinton.
Get-out-the-vote efforts have been intense in the battleground state of Pennsylvania. But most of the state's African-American residents said they were contacted about voting by only one candidate during the campaign: Democrat Hillary Clinton.
The NBC News Exit Poll asked Pennsylvania voters if either campaign had contacted them personally to remind them about voting about coming out to vote. Only about one in 10 African-Americans said they had been contacted by the Trump campaign. By contrast, roughly two in three black voters said they had heard from the Clinton organization. (These figures include voters who said they were contacted by both campaigns.)
The differences become even starker when contact rates for African-Americans in Pennsylvania are compared to those for whites in the state. Among white voters, roughly three in 10 said they had been targeted by Trump get-out-the-vote efforts; the same share said they had been targeted by Clinton.
There were scattered reports of voting machine glitches in Pennsylvania, where some voters said they tried to vote the Republican ticket only to see the Democratic boxes checked on their touchscreen.
NBC News did not witness any of the issues, and it was not clear if the phenomenon was the result of voters not tapping the screen correctly or a technical issue with some machines. Two voters who spoke to NBC News said they used their fingers to vote on the screens, not a stylus designed for that purpose.
The Pennsylvania Secretary of State's office, which oversees elections, could not be reached for comment. A spokeswoman for Allegheny County said voters in Robinson had reported that the machines were showing the wrong selection — but officials were not able to replicate the issue.
Both Trump and Hillary Clinton campaigned in the state on Monday night leading up to the election. Trump held his rally in upstate Scranton, Pa., while his rival campaigned in Pittsburgh and was later joined by President Obama and first lady Michelle Obama in Philadelphia.
Clinton had a 1.9-point lead in an average of recent Pennsylvania polls on Election Day, down from 10 points near the end of August, according to RealClearPolitics. The state was listed as "leaning Democrat" in NBC News' final battleground map.
As of November 7, more Republican-affiliated Pennsylvania voters had cast early ballots than Democratic voters, according to TargetSmart voter file data obtained by the NBC News Data Analytics Lab.
The Pennsylvania Department of State reported about 60 percent of Pennsylvania's voting-age population cast their ballot in 2008 and 2012.
Obama won a majority of the vote in Philadelphia and Pittsburgh in both elections. Those two urban areas could make the difference between loss and victory for Clinton in the state, which every Democratic presidential candidate has won since 1992.
Pennsylvania voters heading to the polls also had to decide on their state's U.S. senator. Democratic challenger Katie McGinty had a 2-point lead against Republican incumbent Senator Pat Toomey in an average of recent Pennsylvania polls on Election Day. Her lead was down from an average of 5 points less than a week ago, according to RealClearPolitics.