Pennsylvania's official election results

5.7 million votes cast in presidential race.

The totals reported Friday by state elections officials show 5,742,040 Pennsylvanians cast ballots for president.

Democrat Barack Obama received 2,990,274 votes, or 52 percent, while Republican Mitt Romney claimed 2,680,434, or 47 percent. The Libertarian and Green party candidates each received less than 1 percent of the vote.

The candidate attracting the most votes was Attorney General-elect Kathleen Kane, whose 3,125,557 votes were more than the totals for Obama and Democratic U.S. Sen. Bob Casey, who was elected to a second term.

The numbers do not vary significantly from the unofficial totals gathered on election night by news organizations and the State Department.