Longtime Egyptian leader Hosni Mubarak has died at the age of 91.
His death was reported Tuesday by state television.
Mubarak ruled Egypt for almost 30 years before being swept from power in 2011 after 18 days of popular protests.
WATCH: : Elizabeth Arrott's video report
He rose through the ranks of the Egyptian air force, eventually becoming commander and deputy defense minister.
Mubarak was named President Anwar Sadat's deputy in 1975 and was at his side when Sadat was assassinated in October 1981 by Islamist militants.
The autocratic leader then assumed the presidency and retained power by positioning himself as a trusted Western ally who honored the 1979 peace treaty with Israel despite fierce opposition throughout most of the Middle East.
At home, Mubarak ruled with an iron fist, imposing Egypt's infamous emergency law, which gave security forces sweeping powers to crack down on dissent and curb basic freedoms.
Mubarak cracked down when Islamist extremists launched a violent campaign in the 1990s that killed hundreds of Egyptian policemen, soldiers and civilians, as well as dozens of foreign tourists.
The authoritarian president had long fought to suppress the Muslim Brotherhood, the Arab world's largest transnational Islamist movement, which originated in Egypt. In doing so, he also marginalized moderate Islamists, alienating their supporters. Many accused him of corruption.
For three decades, Mubarak presided over an uneasy period of enforced stability and economic development.
In January 2011, mass protests against his government erupted in Cairo and other Egyptian cities. On February 1, the aging leader announced he would not seek re-election in a vote scheduled for September. He also promised constitutional reform, but Egyptians demanded more radical change in the wake of the Arab Spring movement beginning to sweep the region.
On February 11, 2011, Vice President Omar Suleiman announced Mubarak was stepping down and that the military's supreme council would run the country. The defiant leader and his family fled to their Red Sea resort home.
Mubarak was later arrested and tried over the deaths of anti-government protesters. On June 2, 2012, he was found guilty of complicity for failing to prevent the killing of hundreds who had revolted against him.
He was sentenced to life in prison along with his former interior minister, Habib Al-Adly, but Egypt's top court later cleared them.
In 2015, Mubarak and his two sons were sentenced to three years on corruption charges, and after being in custody for six years was freed in 2017.