The Battle of the Pyramids, also known as the Battle of Embabeh, was a major engagement fought on 21 July 1798 during the French Invasion of Egypt. The French army, under Napoleon Bonaparte, scored a decisive victory against the forces of the local Mamluk rulers, wiping out almost the entire Ottoman army located in Egypt. It was the battle where Napoleon employed the divisional square tactic to great effect. The deployment of the French brigades into these massive rectangular formations repeatedly threw back multiple cavalry charges by the Mamluks.
The victory effectively sealed the French conquest of Egypt as Murad Bey salvaged the remnants of his army, chaotically fleeing to Upper Egypt. French casualties amounted to roughly 300, but Ottoman and Mamluk casualties soared into the thousands. Napoleon entered Cairo after the battle and created a new local administration under his supervision. The battle exposed the fundamental military and political decline of the Ottoman Empire throughout the past century, especially compared to the rising power of France.