He was bent on purging the judiciary and the public prosecutor’s office, claiming that they were aligned with the protesters opposing his government and their military backers, who had been overthrown in 2011. Morsi brooked little opposition in pushing through a controversial draft constitution.