PANAMA CITY, Fla. – Weighing his words carefully on a fiery political issue, President Obama said Saturday that Muslims have the right to build a mosque near New York’s ground zero, but he did not say whether he believes it is a good idea to do so.

Obama commented during a trip to Florida, where he expanded on a Friday night White House speech asserting that Muslims have the same right to freedom of religion as everyone else in America.

The president’s statements thrust him squarely into a debate that he had skirted for weeks and could put Democrats on the spot three months before midterm elections that they already fear could end their majority in the House and maybe even the Senate.

Until Friday, the White House had asserted that it did not want to get involved in local decision-making.

The White House quickly followed up on Obama’s latest comments on the matter, with Obama spokesman Bill Burton saying the president wasn’t backing off in any way from the remarks he made Friday.

“What he said last night, and reaffirmed today, is that if a church, a synagogue or a Hindu temple can be built on a site, you simply cannot deny that right to those who want to build a mosque,” Burton said.

New York City Mayor Michael Bloomberg, an independent who has been a strong supporter of the mosque, welcomed Obama’s White House speech as a “clarion defense of the freedom of religion.”

Florida Gov. Charlie Crist, who was among those who met with Obama on Saturday, lauded the president’s position. Crist is running for the U.S. Senate as an independent.

“I think he’s right — I mean, you know we’re a country that in my view stands for freedom of religion and respect for others,” Crist said after the Florida meeting with Obama and other officials. “I know there are sensitivities, and I understand them. This is a place where you’re supposed to be able to practice your religion without the government telling you you can’t.”

Others were quick to pounce on Obama’s statements.

In a statement Saturday, House Minority Leader John Boehner said the decision to build the mosque wasn’t an issue of religious freedom, but a matter of respect.

“The fact that someone has the right to do something doesn’t necessarily make it the right thing to do,” Boehner said. “That is the essence of tolerance, peace and understanding.”

Added Rep. Peter King, R-N.Y.: “President Obama is wrong. It is insensitive and uncaring for the Muslim community to build a mosque in the shadow of ground zero.”

Democratic U.S. Senate candidate Jeff Greene of Florida took Obama’s Friday speech to mean the president supports the construction.

“President Obama has this all wrong, and I strongly oppose his support for building a mosque near ground zero, especially since Islamic terrorists have bragged and celebrated destroying the Twin Towers and killing nearly 3,000 Americans,” said Greene.

The mosque would be part of a $100 million Islamic community center two blocks from where the World Trade Center towers were destroyed..

The proposed construction has sparked debate around the country that has included opposition from Republicans as well as the Jewish civil rights organization the Anti-Defamation League.

Obama’s Friday comments were taken by some to mean that he strongly supports the building of an Islamic center near the site of the Sept. 11, 2001, terrorist attack, something he never said.

Speaking to a gathering at the White House on Friday evening to observe the Islamic holy month of Ramadan, Obama said he believes “Muslims have the same right to practice their religion as everyone else in this country.”

“That includes the right to build a place of worship and a community center on private property in lower Manhattan, in accordance with local laws and ordinances,” he said. “This is America, and our commitment to religious freedom must be unshakable.”

Asked Saturday about the issue during his trip to Florida, Obama said: “I was not commenting and I will not comment on the wisdom of making a decision to put a mosque there. I was commenting very specifically on the right that people have that dates back to our founding.”

Obama said, “My intention was simply to let people know what I thought — which was that in this country, we treat everybody equally and in accordance with the law, regardless of race, regardless of religion.”

Some relatives of people killed in the Sept. 11 attacks supported Obama’s comments.

The mosque is “in many ways a fitting tribute,” said Colleen Kelly of the Bronx, who lost her brother Bill Kelly Jr. in the attacks.

“This is the voice of Islam that I believe needs a wider audience,” said Kelly, who is Catholic. “This is what moderate Islam is all about.”

Other family members, however, feel differently.

Sally Regenhard, whose firefighter son was killed at the World Trade Center, has said the president’s comments show “a gross lack of sensitivity to the 9/11 families and to the people who were lost.”

“Barack Obama has abandoned America at the place where America’s heart was broken nine years ago, and where her true values were on display for all to see,” said Debra Burlingame, a spokeswoman for some Sept. 11 victims’ families and the sister of one of the pilots killed in the attacks.

Building the mosque near ground zero, she said, “is a deliberately provocative act that will precipitate more bloodshed in the name of Allah.”

Obama surely knew that his words not only would make headlines, but also would be heard by Muslims worldwide.

The president has made it a point to reach out to the global Muslim community, and the more than 100 guests at Friday’s dinner included ambassadors and officials from numerous nations where Islam is observed, including Saudi Arabia and Indonesia.

When Obama first took office, Muslim leaders had high hopes for his presidency, even as he kept his distance from them during the campaign and rebutted false rumors that he was Muslim.

Their expectations were raised further after a June 2009 speech in Cairo, where Obama said he wanted to forge a relationship between the United States and Muslims based on respect and partnerships with the private sector and civil society.

But many Islamic leaders have since become disappointed in the president, believing he has mostly kept his outreach to their community behind the scenes.

Many Muslims had also hoped he would reverse several Bush administration policies they felt unfairly targeted them after the Sept. 11 attacks, such as no-fly lists and the Patriot Act.