WASHINGTON  President Obama delivered a strong defense on Friday night of a proposed Muslim community center and mosque near ground zero in Manhattan, using a White House dinner celebrating Ramadan to proclaim that “as a citizen, and as president, I believe that Muslims have the same right to practice their religion as anyone else in this country.”

After weeks of avoiding the high-profile battle over the center  his press secretary, Robert Gibbs, said last week that the president did not want to “get involved in local decision-making”  Mr. Obama stepped squarely into the thorny debate.

“I understand the emotions that this issue engenders. Ground zero is, indeed, hallowed ground,” the president said in remarks prepared for the annual White House iftar, the sunset meal breaking the day’s fast.

But, he continued: “This is America, and our commitment to religious freedom must be unshakable. The principle that people of all faiths are welcome in this country, and will not be treated differently by their government, is essential to who we are.”