Sen. John McCainJohn Sidney McCainDonald Trump is delivering on his promises and voters are noticing The Memo: Trump’s media game puts press on back foot Meghan McCain shreds Giuliani for calling Biden a 'mentally deficient idiot' MORE (R-Ariz.) rebuked President Obama on Friday for using the anniversary of Obama bin Laden's death to score political points, calling it a "shameless end-zone dance."

"Shame on Barack ObamaBarack Hussein ObamaShould President Trump, like President Obama, forsake human rights in pursuit of the deal with a tyrant? Obama shares summer reading list ‘Three Californias’ plan would give Dems more seats MORE for diminishing the memory of September 11th and the killing of Osama bin Laden by turning it into a cheap political attack ad," McCain said in a statement circulated by the Republican National Committee.

With the one-year anniversary of bin Laden's killing approaching next week, Obama's campaign released a video Friday suggesting that Mitt Romney, the putative GOP nominee, would not have ordered the risky incursion into Pakistan to nab the 9/11 mastermind.

The video doubled down on remarks that Vice President Biden made Thursday questioning whether Romney had the fortitude to pull off such an operation.

"This is the same President who said, after bin Laden was dead, that we shouldn't 'spike the ball' after the touchdown," McCain said. "And now Barack Obama is not only trying to score political points by invoking Osama bin Laden, he is doing a shameless end-zone dance to help himself get reelected."

McCain endorsed Romney early in the primary process, despite the fierce opposition between the two Republicans in the 2008 GOP primary, and campaigned with him in January ahead of the primary in Florida.

But when Obama and McCain squared off in the general election four years ago, it was McCain who had the upper hand on foreign policy and a forceful approach to national security. McCain, who was a prisoner of war for more than five years in Vietnam, is the top Republican on the Senate Committee on Armed Forces.

This time around, it is the Republican candidate at a disadvantage. Obama's first term included the killing of the nation's top enemy, who eluded President George W. Bush for more than six years.

"Of course they want to focus on this one tactical decision because the other decisions this president has made have harmed our national security," McCain said.

He rattled off a litany of foreign policy areas where he said Obama has failed, including Syria, Israel and Iran.

"With a record like that on national security, it is no wonder why President Obama is shamelessly turning the one decision he got right into a pathetic political act of self-congratulation," McCain said.

Obama's reelection campaign did not immediately respond to a request for comment.