(Reuters) - Former army chief Abdel Fattah al-Sisi was sworn in as president of Egypt on Sunday in a ceremony with low-key attendance by Western allies concerned by a crackdown on dissent since he ousted Islamist leader Mohamed Mursi last year.
Last month's election, which officials said Sisi won with 97 percent of the vote, followed three years of upheaval since a popular uprising ended 30 years of rule by former air force commander Hosni Mubarak.
Security in Cairo was extra tight, with armoured personnel carriers and tanks positioned in strategic locations as Sisi spoke to foreign dignitaries after a 21-gun salute at Cairo's main presidential palace.
He called for hard work and the development of freedom "in a responsible framework away from chaos" but did not mention human rights or democracy.
"The time has come to build a more stable future," said Sisi, the sixth Egyptian leader with a military background. "Let us work to establish the values of rightness and peace."
Near Tahrir Square, the symbolic heart of the revolt against Mubarak where protesters now rarely tread, young men sold t-shirts with the image of Sisi in his trademark dark sunglasses.
Commentators on state and private media heaped praise on him, turning a blind eye to what human rights groups say are widespread abuses, in the hope that he can deliver stability and rescue the economy.
Many Egyptians share that hope, but they have limited patience, staging street protests that toppled two leaders in the past three years, and the election turnout of just 47 percent shows Sisi is not as popular as when he toppled Mursi.
"Sisi has to do something in his first 100 days, people will watch closely and there might be another revolution. That's what people are like in this country," said theology student Israa Youssef, 21.
Western countries, who hoped the overthrow of Mubarak in 2011 would usher in a new era of democracy, have watched Egypt's political transition stumble.
Mursi was the country's first freely elected president, but his year in power was tarnished by accusations that he usurped power, imposed the Brotherhood's views on Islam and mismanaged the economy, allegations he denied.
After Sisi deposed him and became Egypt's de facto ruler, security forces mounted one of the toughest crackdowns on the Brotherhood in its 86-year history. Hundreds were killed in street protests and thousands of others jailed. Secular activists were eventually thrown into jail too, even those who supported Mursi's fall, because they violated a new law that severely restricts protests.
Mursi's ouster was applauded by Egypt's Gulf Arab allies, who were alarmed by the rise of the Brotherhood, the international standard-bearer of mainstream Sunni political Islam.
The movement, which won nearly every election in Egypt since Mubarak's fall, is seen as a threat to Gulf dynasties. Saudi Arabia, the United Arab Emirates and Kuwait extended a lifeline exceeding $12 billion in cash and petroleum products to help Egypt stave off economic collapse after Sisi appeared on television and announced that the Brotherhood was finished.
King Abdullah of Saudi Arabia urged Egyptians this week to back Sisi and said they should disown "the strange chaos" of the Arab uprisings. Kuwait's Emir, the King of Bahrain, the Crown Princes of Saudi Arabia and Abu Dhabi are attending Sisi's inauguration, according to a list provided by the Egyptian presidency.
In contrast, the United States only sent a senior advisor to Secretary of State John Kerry and most European countries only planned to send ambassadors.
"Just having ambassadors shows very clearly that while the governments are recognising the new transfer of power they are certainly not doing so with a huge amount of enthusiasm," said H.A. Hellyer, nonresident fellow at the Brookings Institution in Washington.
"It won’t mean much in terms of trade and cooperation, but it leaves a bit of a foul taste in people's mouths."
Diplomatic manoeuvrings pale as a problem for Sisi compared with an urgent need to fix state finances and tackle an Islamist insurgency to lure back tourists and investors.
The economy is suffering from corruption, bureaucracy and a widening budget deficit aggravated by fuel subsidies that cost nearly $19 billion a year.
Officials forecast economic growth at just 3.2 percent in the fiscal year that begins July 1, well below levels needed to create enough jobs for a rapidly growing population and ease widespread poverty.
Child nursery employee Kamal Mahmoud, 25, said he was optimistic but would give Sisi only two years to bring change.
If he doesn't succeed "he has no right to hold that position and he should join the others sitting in prison", he said.
Sisi, the chief of military intelligence under Mubarak, has Egypt's barren landscape on his side.
Parliamentary elections are expected later this year, but government opponents have been crushed and political parties weakened. Only one other candidate contested the presidential election. The military is unlikely to turn against Sisi unless mass street protests erupt.
"Sisi was the best option we had, so even if I still have worries about his stand on freedoms and even if he lets Mubarak’s people come back, he is still the best candidate for now," said Mohamed Ahmed, an employee in a private firm.
"So I hope he will consider my concerns and act well for the sake of the country."
The world knew little of Sisi before he appeared on television on July 3 to announce the removal of Mursi after vast crowds demanded he resign, and to promise democracy.
Sisi had kept a low profile as Mubarak's head of military intelligence. That approach dates back to his childhood in the run-down Cairo neighbourhood of Gamaliya.
While most boys played along alleys, Sisi kept to himself, focusing on his studies, working in his father's shop after school and weightlifting, people who knew him say.
But Sisi will need more than iron discipline to come up with solutions for Egyptians like Fathi Bayoumi, 60, who had hoped the 2011 revolt would ease hardships in his slum, where there are puddles of open sewage.
“He will do his best but it is not in his hands because the country has fallen. He does not have a magic wand… May God be with him," said Bayoumi.
Poverty is just one of the challenges facing Sisi. He is likely to face the same protracted challenge from Islamists as his predecessors.
The Brotherhood has been declared a terrorist group and has been driven underground but it has survived repression before.
"Sisi does not enjoy legitimacy or support from the people," said Mursi supporter Wael Kamel, a physician who lives in the town of Fayoum, south of Cairo. "The election was a farce."
Radical Islamist groups, who have threatened to bomb their way into power, have proven resilient despite army offensives.
Militants based in the Sinai Peninsula have stepped up attacks on police and soldiers since Mursi's ouster, killing hundreds. Other militants operating along the border with chaotic Libya are now seen by Sisi as a major threat.