Following the election of Muslim Brotherhood politician Mohamed Morsi as the next Egyptian president, relations became extremely strained. The Muslim Brotherhood is a banned organisation and its membership is a capital offence in Syria. Egypt severed all relations with Syria in June 2013. Diplomatic relations were restored and the embassies were reopened after the Morsi government was deposed weeks later by General Abdel Fattah el-Sisi. In July 2013, the two countries agreed to reopen the Egyptian consulate in Damascus and the Syrian consulate in Cairo.