CAIRO, Egypt – Egypt’s ousted former President Hosni Mubarak has died at the age of 91, state television said on Tuesday, weeks after undergoing surgery.

Mubarak ruled Egypt for 30 years until he was ousted following mass protests against his rule in 2011.

Mubarak spent some six years in a military hospital following the revolution, which began on January 25, 2011.

In March 2017, he was acquitted of causing the deaths of protesters during the demonstrations against his rule. His sons had been acquitted on similar charges in 2015.

Mubarak stood down in a public address to the nation on February 11, 2011, after days of protests in Cairo and other cities in Egypt.

His overthrow led to the first democratic elections held in Egypt since independence, which brought the Muslim Brotherhood – banned and suppressed for decades under Mubarak – to power.

But Muslim Brotherhood leader Mohammed Morsi’s rule of the country was both divisive and chaotic, and in 2013 the government was overthrown in a coup by military chief Abdel Fattah el-Sisi.

Sisi later won elections in Egypt in 2014 which the Brotherhood – and other anti-government candidates – were banned from taking part.

Mubarak took power in 1981 after the murder of former president Anwar Sadat during a military parade.