Hosni Mubarak almost thirty years, making him Egypt's longest-serving ruler since Muhammad Ali Pasha, who ruled the country from 1805 to 1848, a reign of 43 years. Mubarak stepped down after 18 days of demonstrations during the Egyptian Revolution of 2011. On 11 February 2011, Vice President Omar Suleiman announced that Mubarak had resigned as president and transferred authority to the Supreme Council of the Armed Forces. On 13 April 2011, a prosecutor ordered Mubarak and both of his sons (Alaa and Gamal) to be detained for 15 days of questioning about allegations of corruption and abuse of power. Mubarak was then
Post-coup unrest in Egypt (2013–2014) (10 July – 7 August), prime minister Hazem al-Beblawy threatened to disperse the ongoing Pro-Morsi sit-ins in Rabaa al-Adaweya square and al-Nahda square. The government crackdown of these protests occurred in a violent dispersal on 14 August 2013. In mid-August, the violence directed by the army towards the protesters escalated, with hundreds killed, and the government declaring a month-long nighttime curfew. Protests against President Hosni Mubarak in early 2011 led to his resignation and trial after the Egyptian military switched its allegiance to the demonstrators. Mubarak's downfall was only the second revolution in the Arab world of the revolutionary wave