Egypt's former president Mohammed Morsi, who was ousted by the army in 2013, has died in court.

According to State TV, he reportedly collapsed after a court session where he was facing espionage charges and subsequently died.

Morsi, 67, was democratically elected in 2012 after the 2011 Arab Spring saw the end of President Hosni Mubarak's 30-year rule.

He was then deposed following mass protests and a military coup in July 2013.

He served just one year of a four-year term, while the organisation to which he belonged, the Muslim Brotherhood, has since been outlawed.

The Cairo Criminal Court had postponed the trial of Morsi and 23 others in the case of "collaborating with Hamas" for tomorrow.

In November 2016, the Court of Cassation scrapped the life imprisonment sentence for Morsi and 21 other defendants, including some who had received the death penalty, in the same case, and ordered a retrial