Following the overthrow of Hosni Mubarak in 2011, he was one of the founders of the Egyptian Social Democratic Party and was a member of parliament.[5] News reports on 7 July 2013 stated that he was likely to be appointed interim prime minister by the authorities that seized power in the 2013 Egyptian coup,[6] though this appointment was blocked within the post-coup coalition by the Salafist Al Nour Party.[7] On 12 July 2013 Al Arabiya reported that he had been chosen as Egypt's interim deputy prime minister.[3] After his appointment he suspended his membership in the Social Democratic Party.[8] He resigned on 27 January 2014.[9]