Cairo - An Egyptian court on Saturday sentenced 11 people to life in prison - including the head of the outlawed Muslim Brotherhood, Mohammad Badie - after a retrial on charges related to mass prison breaks at the height of the 2011 popular uprising.

The retrial was related to a case rooted in the escape of 20,000 inmates from Egyptian prisons in January 2011, early in the 18-day uprising that toppled President Hosni Mubarak, who testified in the case in December. The verdict cannot be appealed.

The Cairo criminal court also sentenced eight others to 15 years in prison on the same charges, which include orchestrating prison breaks and undermining national security by conspiring with foreign groups: the Palestinian militant group Hamas and Lebanese militant group Hezbollah.

This is the latest of several life sentences for Badie. He’s also been sentenced to death in separate trials held after his arrest in 2013 following the military ouster of the late president Mohammed Mursi, a Brotherhood leader, amid nationwide protests against his one-year rule.

Several mass trials of Islamists that yielded dozens of death sentences have been held in Egypt since Mursi’s ouster.

Mursi was a defendant in the prison-break case, but he collapsed in a courtroom and died while appearing in a separate trial in June.

Chief Judge Mohammad Sherin Fahmi dropped the charges against Mursi, who in 2011 escaped with other Brotherhood leaders two days after they were detained amid a crackdown by Mubarak’s security forces trying to undercut the planned protests.

The court also acquitted eight others.