CAIRO –– Mohammed Mursi took the oath of office on Saturday to become Egypt's first Islamist president and its first elected head of state since Hosni Mubarak's overthrow last year.
The ceremony took place in the constitutional court rather than parliament, the result of an ongoing tussle with the military that took charge after Mubarak's overthrow and insists on retaining broad powers now.
"I swear by the Almighty God to sincerely preserve the republican order and to respect the constitution and law, and completely care for the people's interest," he said at the ceremony at the court.
Mursi had wanted to take the oath before parliament, but the military has disbanded the Islamist-dominated house following a court order.
In an address at Cairo University following his swearing-in, Mursi thanked the military for seeing through the presidential elections but pointedly mentioned the "elected parliament" several times.
"The elected institutions will return to fulfilling their roles. And the great military will devote itself to the task of protecting the country," he told his audience, which included the military's leader, Field Marshal Hussein Tantawi.
He then set out some of his international and domestic objectives, saying he would be a "servant of the people" in a "democratic, modern and constitutional state".
Internationally, he said Egypt respected would back the Palestinians and called for an end to the bloodshed in Syria.
"I announce from here that Egypt, its people and presidential institution stand with the Palestinian people until they regain all their rights," he said.
"We support the Syrian people. We want the bloodshed to stop," he added.
He repeated that Egypt would respect its international treaties, in an allusion to its 1979 peace accord with Israel.
"We carry a message of peace to the world, accompanied and preceded by a message of right and justice."
Mursi, who resigned from the Muslim Brotherhood after winning the election this month, had spoken out forcefully in support of Palestinians during his campaign.
The Brotherhood is vehemently opposed to Syrian president Bashar al-Asad and supports the uprising against him.
But as president, Mursi is not expected to radically change his country's foreign policy, especially towards Israel, in which the military is expected to exercise its clout.
In a Friday speech before tens of thousands of supporters in Cairo's Tahrir Square, the epicentre of the revolt that ousted Mubarak, he said that he would insist on retaining all the presidency's powers.
"I renounce none of the prerogatives of president," he said.. "You are the source of power and legitimacy," he told his supporters.