Mustafa Pasha was the uncle of Muhammad Ali of Egypt and an Ottoman commander who had fought against Russia and Napoleon's army in Egypt. He lost the Battle of Abukir against Napoleon in 1799.