WASHINGTON — President Obama invited former President George W. Bush to join him at ground zero in New York City on Thursday to mark the killing of Osama bin Laden, but Mr. Bush declined, a spokesman for the former president confirmed on Tuesday.

“President Bush will not be in attendance on Thursday,” said his spokesman, David Sherzer. “He appreciated the invite, but has chosen in his post-presidency to remain largely out of the spotlight. He continues to celebrate with Americans this important victory in the war on terror.”

The White House did not confirm that the invitation had been made or comment on Mr. Bush’s decision.

Mr. Obama has talked this week of his hope that the successful raid on the compound where Bin Laden was hiding could serve as a unifying force in a country divided by battles over fiscal policy and many other issues. Many Republicans have praised Mr. Obama for the success of the operation.