Presidential elections were held in Egypt in 2012, with the first round on 23 and 24 May 2012 and the second on 16 and 17 June. They were the first democratic presidential elections in Egyptian history. The Muslim Brotherhood declared early 18 June 2012, that its candidate, Mohamed Morsi, won Egypt's presidential election, which would be the first victory of an Islamist as head of state in the Arab world. It was the second presidential election in Egypt's history with more than one candidate, following the 2005 election, and the first presidential election after the 2011 Egyptian revolution which ousted president Hosni Mubarak, during the Arab Spring. However, Morsi's presidency was brief and short-lived, and he later faced massive protests for and against his rule, only to be ousted in a military coup in July that year.