Hosni Mubarak was the President of Egypt from 1981 until his resignation in 2011, serving for nearly 30 years. His presidency was marked by a regime characterized by authoritarian rule, economic reforms, and a peace treaty with Israel, as well as significant opposition from various political and religious groups, particularly during the rise of political Islam and the events leading to the Arab Spring.