Adly Mansour, the newly-appointed head of the High Constitutional Court, has taken the presidential oath of office.
"I swear by Almighty God that I will uphold the republican system, respect the constitution and the law, look after the interests of the people, protect the independence of the nation and the safety of its land," the oath said.
Adly saluted the army, the judiciary and the police in a brief speech to rapturous applause.
He lauded Egyptian media outlets for "lighting the road for the nation and uncovering the failures of the former regime."
He also paid tribute to the youth of the revolution and all revolutionary forces for taking part in the "glorious day of 30 June."
Adly Mansour was sworn in as head of the High Constitutional Court (HCC) on Thursday morning. He was appointed to the position in May and his term officially started on 30 June after former leader Judge Maher El-Beheiry reached the retirement age.
Mohamed Morsi was ousted by the army on Wednesday following days of huge opposition protests.