President Mubarak steps down: Who is in charge now?
Hosni Mubarak has decided to step down as president of Egypt.
In an announcement on state TV, Vice-President Omar Suleiman said Mr Mubarak had handed power to the military.
It came as thousands massed in Cairo and other Egyptian cities for an 18th day of protest to demand Mr Mubarak's resignation.
The BBC's Ben Brown asked legal analyst Khaled Islamboil who is now in charge of the country.