Egypt's ousted President Mohammed Morsi stands inside a glassed-in defendant's cage during his trial on charges related to the prison breaks on Jan. 28, 2014 (AP Photo)
Former Egyptian president Mohamed Morsi was sentenced to life in prison on Tuesday, in a case related to charges of spying for Hamas.
The court sentenced 16 others to death, including Muslim Brotherhood leaders Khairat El-Shater and Mohamed El-Beltagy.
Sixteen other defendants, including the Brotherhood Supreme Guide Mohamed Badie, and leading members Essam El-Erian and Saad El-Katatni, received life sentences.
The court also sentenced two defendants to seven years in prison.
According to Egypt's penal code, life sentences are 25 years.
In the espionage case, prosecutors charged Morsi and 35 other defendants with conspiring with foreign powers - including Hamas, Lebanon's Hezbollah and Iran's Revolutionary Guards - to destabilise Egypt.
The court is also expected to deliver its final verdict in Mohamed Morsi's jailbreak case on Tuesday.