After the departure of French troops in 1801 the Mamluks continued their struggle for independence; this time against the Ottoman Empire and Great Britain.