Egypt's former President Mohamed Morsi has died after appearing in court in Cairo, according to state media.
The 67-year-old died after fainting during the court session in the Egyptian capital on Monday, state TV reported.
"He was speaking before the judge for 20 minutes then became very animated and fainted. He was quickly rushed to the hospital where he later died," a judicial source said.
Morsi became Egypt's first democratically elected president in 2012, one year after the Arab Spring uprising saw the end of President Hosni Mubarak's 30-year rule.
Al Jazeera's Laura Burdon-Manley reports.