The Islamist former President of Egypt, Mohammed Morsi, has been sentenced to life in prison at the end of an espionage trial.

He was one of a number of defendants accused of passing documents to Qatar.

Morsi’s lawyer told AFP that he had been acquitted of spying in this case, but convicted of leading an illegal organisation.

Six others on trial, including two journalists for the broadcaster al-Jazeera, were sentenced to death.

The two journalists were not in court and were sentenced to death in absentia.

Morsi was deposed in 2013. He has already been given a life sentence and condemned to death in earlier, separate court cases.

What’s become of Egypt’s Morsi?

All of the rulings can still be appealed.

They come against a background of scathing criticism of the Egyptian judicial system by international human rights activists.

Tens of thousands of people are believed to have been jailed by Egyptian authorities, most of them supporters of Morsi’s Muslim Brotherhood, since the former president was overthrown following mass protests against his rule.