CAIRO (AP) — An Egyptian court has sentenced 36 people convicted of joining the outlawed Muslim Brotherhood organization to five years in prison.

The Alexandria criminal court on Tuesday also sentenced the defendants to five years of probation. They were arrested in Alexandria in 2017.

The sentences can be appealed.

The Brotherhood won a series of free elections following Egypt’s 2011 uprising but was branded a terrorist group after the military overthrew an elected but divisive Islamist president in 2013. Since then, courts have held mass trials and sentenced hundreds of people to death.

Rights groups have repeatedly criticized such mass sentencings in Egypt and called on authorities to ensure fair trials.