4 July 2013
Last updated at 14:49 ET
Adly Mansour, Egypt's top judge, was sworn in as the country's interim president, less than 24 hours after the army ousted the elected president, Mohammed Morsi.
Constitutional Court judges applauded Adly Mansour, who is officially tasked with leading the country until new elections are held.
Correspondents are asking if Mr Mansour will be any more than a fig leaf for military rule. "Generals in coups usually install people they can control," writes BBC Middle East editor Jeremy Bowen. Here soldiers deploy near Cairo's Raba El-Adwyia Mosque.
Military helicopters trailing national flags circled over Tahrir Square on Thursday, where large crowds continue to gather.
The military appeared to be celebrating the inauguration of Mr Mansour. Cairo's public were treated to a fly-past by jets.
Nuns were watching the aerial spectacle above Tahrir Square. Senior religious leaders, including the head of Egypt's Coptic Church, approved the army's removal of Mr Morsi.
Many Egyptian citizens also clearly welcomed the army's actions. Here a man shakes a soldier's hand in Giza, Cairo.
This photo was taken in a tea house in Cairo just seconds after Gen Abdul Fattah al-Sisi announced Mr Morsi had been removed from power.
But it was a dark day for Morsi supporters, seen here performing midday prayers in Cairo on Thursday.
The BBC's Shaimaa Khalil says that members of Mr Morsi's Muslim Brotherhood are refusing to acknowledge the change of power.
Mr Morsi is now under house arrest, probably at a military base. It's a sharp contrast to what happened just over a year ago, when soldiers shielded him as he went to cast his vote in the election that brought him to power.
The week's dramatic events have left dozens of people dead or injured, with many Morsi supporters among the casualties.