A military funeral has been held in Egypt for former President Hosni Mubarak, who died on Tuesday aged 91.
The current President, Abdul Fattah al-Sisi, walked alongside Mubarak’s sons, Alaa and Gamal, in a procession behind his coffin as it was taken to the Field Marshal Tantawi mosque in Cairo.
The government has declared three days of national mourning.
Mubarak was forced out of office by an Arab Spring popular uprising in 2011, after 30 years in power.
He spent the next six years in prison or military hospitals while standing trial on various charges.
In 2012, Mubarak was sentenced to life after being convicted of complicity in the murder of protesters during the uprising. But he was eventually cleared on appeal.
He was also given a three-year jail sentence for embezzling public funds.
State media reported that he died at a Cairo hospital after undergoing surgery.
Egyptians who took part in the 2011 revolution say he was a corrupt dictator. They hold him responsible for the problems Egypt is suffering at the moment.
READ ALSO: Egyptian law says deposed President Hosny Mubarak entitled to military funeral
“It’s all part of his terrible legacy,” one young man said.
Some people on social media asked why Mubarak was given such a funeral when he had been convicted of corruption. They also compared his treatment to that of his ousted successor, Mohammed Morsi, who died last year while in court and was buried overnight with only a few members of his family in attendance.

Morsi was an Islamist, however, while Mubarak belonged to the military – an institution that has dominated Egypt’s political scene for more than six decades.
While some Egyptians consider Mubarak a figure from the past, a considerable number believe the time when he was in power was better than it is now. They say he left a small space for freedom of expression, unlike the current president.
President Sisi has expressed “deep condolences” to Mubarak’s family.
A statement paid tribute to his military service during the 1973 Arab-Israeli war. But it did not mention his time as president.
“[He was] one of the heroes of the glorious October war, when he led the air force during the war that restored dignity and pride to the Arab nation,” it said.
Mr. Sisi served as Mubarak’s military intelligence chief and led the military’s overthrow of his democratically elected successor, Mohammed Morsi, in 2013.
Since then, he has overseen an unprecedented crackdown on dissents, in which tens of thousands of people have reportedly been detained, hundreds have been handed preliminary deaths sentences, and hundreds more have gone missing.
BBC