Ex-army chief Abdul Fattah al-Sisi has been sworn in as Egypt's new president after a landslide win in May elections.
He said his election was "a democratic, peaceful handover of power" that represented "a historic moment and turning point" for the nation.
Security forces were deployed at key locations around the capital Cairo for the ceremony at the Supreme Constitutional Court.
The retired field marshal overthrew President Mohammed Morsi last July.
He has since been pursuing a crackdown on Morsi's Muslim Brotherhood, which urged a boycott of the elections.
Liberal and secular activists, including the April 6 youth movement which was prominent in the 2011 revolution that ousted long-serving president Hosni Mubarak, also shunned the 26-28 May poll in protest at the curtailing of civil rights.
Sisi, 59, was sworn in for a four-year term at a ceremony shown live on television.
He signed the document authorising him to take over power from interim president, Adly Mansour.
Sisi said: "Throughout its extended history over thousands of years, our country has never witnessed a democratic peaceful handover of power."
He said it was time "for our great people to obtain the fruits of their two revolutions... the time has come to build a more stable future".
Sisi's victory came almost a year after he ousted Egypt's first freely elected president, Mohamed Morsi, following mass protests against his rule.
At the swearing-in, the Supreme Constitutional Court deputy head, Maher Sami, said the ousting was not a coup, and that Sisi had responded to the will of the people.
Justices present for the ceremony applauded after Sisi took the oath.
Sisi vowed he would "establish a new Egypt - a strong, just and secure country which enjoys prosperity".
In the May elections, Sisi secured 96.9% of the vote and his sole challenger, left-winger Hamdeen Sabahi, received only 3.1%. Turnout was less than 50%.
Crowds are expected to flock to Cairo's Tahrir Square to celebrate his victory, the BBC's Orla Guerin in the Egyptian capital reports.
Sisi inherits a nation that is divided and weary, our correspondent says. Experts warn that if he cannot deliver in the next year or two he could also face a mass revolt.
One student, Israa Youssef, told Reuters: "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."
Sisi faces an array of challenges, including fixing the economy, preventing further political crises and easing poverty.
More than a quarter of Egyptians live below the poverty line. Sisi has pledged to build 26 new tourist resorts, eight new airports and 22 industrial estates.
He has promised to restore security in a country where attacks by Islamist militants have left hundreds of security personnel dead over the past 11 months.
The militants have stepped up attacks in response to the crackdown on the Muslim Brotherhood and its allies, in which more than 1,400 people have been killed and 16,000 detained.
Morsi and other senior leaders of the Brotherhood, which has been designated a terrorist organisation, are standing trial on a series of charges. They strongly deny any wrongdoing.
Critics fear Sisi will continue to show little tolerance for dissent.