An Egyptian court sentenced 155 Muslim Brotherhood supporters to prison terms on Wednesday in connection with last year's violence stemming from the removal of then-President Mohammed Morsi. The court gave life sentences to 54 of the Muslim Brotherhood supporters.

The sentences were handed down the same day former Egyptian President Hosni Mubarak was given a three-year prison term on corruption charges. Mubarak was found to have embezzled funds that were allocated for renovating presidential palaces and using the money for cosmetic improvements on properties owned by his family. Mubarak’s sons were also sentenced to four years in prison on the same charges.

Mubarak “should have treated people close and far from him equally,” Judge Osama Shaheen said at the sentencing, according to Reuters. "Instead of abiding by the constitution and laws, he gave himself and his sons the freedom to take from public funds whatever they wanted to without oversight and without regard."

The former Egyptian president is expected to serve about a year in prison despite being sentence to four because the 23 months he was in jail from 2011 until August will be applied to his sentence. 

Morsi was removed from power during a 2013 coup led by Egyptian Gen. Abdel Fattah al-Sisi, Mubarak's former intelligence chief. Al-Sisi is expected to be elected president during voting next week.