the period between 1801 and 1805 was, effectively, a three-way civil war in egypt between the egyptian mamluks, the ottoman turks, and troops the ottoman porte dispatched from rumelia (the empire's european province), under the command of muhammad ali pasha, to restore the empire's authority.