After Morsi was ousted by the military, the judiciary system aligned itself with the new government, actively supporting the repression of Muslim Brotherhood members. This resulted in a sharp increase in mass death sentences that arose criticism from then-U.S. President Barack Obama and the General Secretary of the UN, Ban Ki Moon.