Four of Egyptian President Mohammed Morsi's cabinet members resigned their posts Monday after several days of violent street protests that pitted Morsi supporters, including the Muslim Brotherhood, against opponents of the Islamic leader and left five dead.

Egypt's ministers of tourism, environment, communication and legal affairs submitted their resignations one day after huge protests against the embattled Morsi rattled the country's leadership, according to a senior government official quoted by AFP.

The four officials were Tourism Minister Hisham Zaazou, Communication and Information Technology Minister Atef Helmi, Minister of State for Legal and Parliamentary Affairs Hatem Bagato, and Minister of State for Environmental Affairs Khaled Abdel-Aal.

The ministers handed their resignation letters to Prime Minister Hesham Qandil at the same time, according to the report.

The resignations followed an overnight incident in which unidentified attackers set fire to part of the Muslim Brotherhood headquarters in Cairo. The assault lasted a few hours and ended early Monday morning after as many as six of the assailants were killed by gunfire from inside the building, according to reports.