In July 2013, Egyptian president Mohammed Morsi, a member of the Muslim Brotherhood, was removed by a coup d'état after the June protests. A travel ban was put on Badie as well as Badie's deputy Khairat el-Shater. Badie's arrest was ordered on 10 July 2013 for "inciting the violence in Cairo on Monday in which more than 50 people were killed." On 14 July 2013 Egypt's military-installed prosecutor general Hisham Barakat ordered his assets to be frozen. Badie was arrested on 20 August 2013. His two deputies were also arrested and he was due to stand trial on 25 August. After the arrest of Badie, the Muslim Brotherhood appointed Mahmoud Ezzat as the acting guide.