Adly Mansour is closing a nearly a year as president. The head of the Supreme Constitutional Court, he was installed as interim president under a military transition plan in July after the ouster of Islamist President Mohammed Morsi, who had faced massive protests after a year in office.
Mansour now hands over office to former army chief Abdel-Fattah el-Sissi, who oversaw Morsi's removal and who won last week's presidential elections in a landslide. El-Sissi is to be sworn in on Sunday.
He said the country is "in better shape" today after the passing of an amended constitution and the presidential elections.
Mansour becomes Egypt's second president to peacefully hand over office to a successor the only other one being another interim figure, Sufi Abu Taleb, who served for around a week between President Anwar Sadat, who was assassinated by Islamic militants in 1981, and Hosni Mubarak, who ruled for 29 years until he was toppled in a 2011 popular uprising.
Also Read
During Mansour's presidency, Morsi supporters refused to recognise the new authorities, holding near daily protests that were met with a fierce crackdown.
Security forces stormed two sit-ins by Morsi supporters six weeks after his ouster, leaving hundreds dead. In the months that followed, thousands of Morsi loyalists and Islamists were rounded up, and most are facing trials for inciting violence and belonging to a group that the government now considers a terrorist organisation.