CAIRO -- Mohammed Morsi, who became Egypt's first democratically elected leader in 2012 before being deposed in a military coup the following year, died Monday after he fell unconscious during a court session in Cairo.
One of his sons, Ahmed, confirmed Morsi's death.
"My father, we will meet again with God," he wrote in a Facebook post.
Morsi was allowed by the judge to address the court as per his request.
The former president spoke for five minutes before he fell unconscious and died on the way to the hospital, the country's top prosecutor said in a statement.
Morsi took office in mid-2012, around a year after an uprising ousted his predecessor Hosni Mubarak.
His death comes almost six years after he was ousted by the military on July 3, 2013, following mass protests against his one year in power.
An initial medical report shows that Morsi died while he was being transported to hospital.
"There were no apparent recent injuries to the body of the deceased," the prosecutor's statement added.
The prosecutor ordered the confiscation of surveillance cameras in the court and the questioning of those present with Morsi at the time.