He was the commander-in-chief of the Egyptian Armed Forces and, as Chairman of the Supreme Council of the Armed Forces, was the "de facto" head of state from the ousting of Hosni Mubarak on 11 February 2011 to the inauguration of Mohamed Morsi as President of Egypt on 30 June 2012. 