In 1798 Napoleon Bonaparte sailed from Toulon with 35,000 men to cut Britain's road to the East. In July the Battle of the Pyramids broke the cavalry of the Mamluk sultanate and he entered Cairo, founding the Institute of Egypt — more than 150 scholars with the army, in sections of mathematics, natural history and antiquities, surveying and recording the country. In August the Royal Navy destroyed the French fleet in Aboukir Bay and the expedition was sealed off; in 1799 the Syrian campaign broke before the walls of Acre, Napoleon slipped back to Paris, and the generals he left behind held out until surrendering to the Anglo-Ottoman forces in 1801. The three French years left their marks: the 'Description of Egypt', the state-commissioned plate volumes, ran from 1809 for thirty years; and in 1799 an officer digging at the Rosetta mouth found the stone that let Champollion break the hieroglyphs — Egyptology begins there. Out of Cairo's disorder the officer Muhammad Ali rose, taking the pashalik in 1805 and setting Egypt on its half-independent drive to modernize — a failed expedition, with deep consequences in European learning and in Egyptian politics alike.