Washington (CNN) - President Obama's lead over a generic Republican candidate in the 2012 presidential race dipped recently, according to a new national survey.
The Pew poll released Thursday showed 41 percent of registered voters would like to see Obama re-elected while 40 percent said they would prefer a Republican to win the White House. The new numbers are significantly closer than the 11-point lead the president held in May.
Obama received a drop in support among independent voters, 40 percent of whom said they would back Obama, compared to the 42 percent he received in May.
An NBC/Wall Street Journal poll earlier in the month found similar results with 42 percent of voters supporting Obama in 2012 and 39 percent backing a Republican.
In the third national survey, Mitt Romney led the pack of GOP hopefuls with undeclared candidate Texas Gov. Rick Perry coming in second. The former Massachusetts governor received 21 percent support followed by Perry with 12 percent and former Alaska Gov. Sarah Palin, another undeclared candidate, with 11 percent. Rep. Michele Bachmann of Minnesota received 11 percent and Rep. Ron Paul of Texas garnered nine percent.
A recent Gallup survey and CNN/ORC International Poll showed similar breakdowns among the Republican candidates.
The Pew poll surveyed 1,501 adults and 1,205 registered voters from July 20 through July 24 with a sampling error of plus or minus 3.5 percentage points.