Cairo, Egypt: The top judge of Egypt's Constitutional Court, Adli Mansour, is to be sworn in as interim leader, hours after the army ousted President Mohammed Morsi and put him under house arrest.
Army chief Gen Abdul Fattah al-Sisi announced the move on Wednesday, in what Mr Morsi said was a military coup.
Gen Sisi said Mr Morsi, Egypt's first freely elected leader, had "failed to meet the demands of the people".
The move comes after days of mass rallies against the Islamist president.
Protesters accused him and the Muslim Brotherhood of pursuing an Islamist agenda for the country and of failing to tackle Egypt's economic problems.
The BBC's Kevin Connolly in Cairo says the president had appeared to protesters to be economically out of his depth, and had not given them the reassurances they wanted that he could address rampant poverty.
Mr Morsi's opponents celebrated through the night in Cairo's Tahrir Square, as the army announced it had suspended the constitution and pledged to hold new elections.
But clashes erupted overnight between Morsi supporters and the security forces in Cairo and Alexandria, leaving seven protestors dead. A further 10 deaths have been reported in confrontations in other parts of the country.
Gehad el-Haddad, a spokesman for Mr Morsi's Muslim Brotherhood, told the BBC the ousted leader had been put under house arrest and the "entire presidential team" was in detention.
Mr Haddad's father, senior Morsi aide Essam el-Haddad, and Saad al-Katatni, head of the Brotherhood's political wing, are among those held.
The state-run al-Ahram newspaper reported that arrest warrants had been issued for 300 leaders and members of the Muslim Brotherhood.
US President Barack Obama has said he is "deeply concerned" by the latest turn of events and called for a swift return to civilian rule.
'Do not respond'
The removal of the president followed four days of mass protests against Mr Morsi and an ultimatum issued by the military, which expired on Wednesday afternoon.
In his televised speech, Gen Sisi said the armed forces could ignore the call of the Egyptian masses.
He spoke of a new roadmap for the future, and said Mr Mansour would be given the task of "running the country's affairs during the transitional period until the election of a new president".
-BBC