Abdel Fattah el-Sisi, the former Egyptian army chief, has been sworn in as the new president at Cairo's Constitutional Court amid high security.
Sisi took the oath of office before the Supreme Constitutional Court in a suburb south of the Egyptian capital, the same venue where deposed President Mohamed Morsi, now on trial for charges that carry the death penalty, was sworn in two years ago.
"I swear by almighty God to preserve the republican system, and to respect the constitution and the law and to care for the interests of the people; and to preserve the independence of the nation and its territorial integrity," Sisi said.
Sunday was declared a national holiday and tight security was enforced by the police and military throughout Cairo.