Egypt’s new president, Mohammed Morsi, made his debut on the global stage at the United Nations, celebrating himself as the nation’s first democratically elected leader who was swept into office after what he called a ‘‘great, peaceful revolution.’’

Morsi, an Islamist and key figure in the once-banned Muslim Brotherhood, said in the UN General Assembly on Wednesday that the first issue for the world body should be certifying the rights of the Palestinian people.

‘‘The fruits of dignity and freedom must not remain far from the Palestinian people,’’ he said, adding that it was ‘‘shameful’’ that UN resolutions are not enforced. He decried Israel’s continued building of settlements on territory that the Palestinians claim for a future state in the West Bank.

Morsi also said that he would not rest until the civil war in Syria is brought to an end.

He called the fighting there, which opposition groups say has killed at least 30,000 people, the "tragedy of the age" and one that "we all must end." And he invited all nations to join an effort to stop the bloodshed that began about 18 months ago when opposition figures rose up against President Bashar Assad's regime.

On another subject, Morsi condemned as an obscenity the video produced in the United States that denigrated Islam's Prophet Muhammad. He insisted that freedom of expression does not allow for attacks on any religion.

Morsi also condemned the violence that swept Muslim countries last week in reaction to the video. At least 51 people were killed, including the U.S. ambassador to Libya and three other Americans targeted in an attack on the U.S. consulate in Benghazi.

He appeared to have been responding to President Barack Obama's General Assembly speech Tuesday in which the U.S. leader again condemned the video but sternly defended the U.S. Constitution's guarantees of free speech.

Morsi did not explain what limitations he felt should be placed on free speech but said the video and the violent reaction to it demanded "reflection." He said freedom of expression must be linked with responsibility, "especially when it comes with serious implications for international peace and stability."

Earlier Wednesday, Iranian leader Mahmoud Ahmadinejad, known for past fiery denunciations of the United States and Israel, spoke at length about his vision for a new world order without the "hegemony of arrogance." And of Israel, he cited what he termed the "continued threat by the uncivilized Zionists to resort to military action against our great nation."

He did not refer to Iran's nuclear program. Israel and Western nations contend that Tehran is using what it insists is a peaceful nuclear program as a cover for developing the ability to build atomic weapons. Iran is suffering under tough sanctions as punishment for Iran's failure to cooperate with the U.N. nuclear watchdog agency to prove the peaceful nature of its drive to enrich uranium to levels that could be used to build a nuclear weapon.

Israel has threatened a military strike against Iranian nuclear installations, but Obama insists that time remains to solve the dispute through diplomacy. Obama has vowed, however, to stop Tehran from obtaining a nuclear arsenal.