Obama took 47 percent support in the poll, while Romney took 40. That’s in line with the Real Clear Politics average of polls, which shows Obama with an eight-point lead in the Keystone State.

Pennsylvania is one of 12 key swing states that Obama won in 2008 that will be critical in determining the outcome of the 2012 election. Pennsylvania’s 20 electoral votes are the third most at stake among swing states, behind only Florida and Ohio.

Obama won Pennsylvania by 11 percent over Sen. John McCainJohn Sidney McCainMcConnell: 'Whoever gets to 60 wins' on immigration Meghan McCain: Melania is 'my favorite Trump, by far' Kelly says Trump not likely to extend DACA deadline MORE (R-Ariz.) in 2008.

The poll of 1,227 likely voters was conducted between July 9 and July 10 and has a 2.8 percent margin of error.