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
Hosni Mubarak on 5 September and that the remainder of the proceedings would be off-limits to television cameras. The trial resumed in December 2011 and lasted until January 2012. The defense strategy was that Mubarak never actually resigned, was still president, and thus had immunity. On 2 June 2012, Mubarak was found guilty of not halting the killing of protesters by the Egyptian security forces; he was sentenced to life imprisonment. The court found Mubarak not guilty of ordering the crackdown on Egyptian protesters. All other charges against Mubarak, including profiteering and economic fraud, were dismissed. Mubarak's sons, Habib el-Adly, and six