<P> The Battle of the Pyramids, also known as the Battle of Embabeh, was a major engagement fought on July 21, 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 Egyptian army . It was the battle where Napoleon employed one of his significant contributions to military tactics, the divisional square . Actually a rectangle, the deployment of the French brigades into these massive formations repeatedly threw back multiple cavalry charges by the Egyptians . </P> <P> 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 Egyptian casualties soared into the thousands . Napoleon entered Cairo after the battle and created a new local administration under his supervision . </P> <P> The battle exposed the fundamental military and political decline of the Ottoman Empire throughout the past century, especially compared to the rising power of Napoleon's France . Napoleon named the battle after the Egyptian pyramids because they were faintly visible on the horizon when the battle took place . </P> <P> In July 1798 Napoleon was marching from Alexandria toward Cairo after invading and capturing the former . He met the forces of the ruling Mamluks nine miles (15 kilometres) from the Pyramids and only four miles (six kilometres) from Cairo . The Mamluk forces were commanded by two Georgian mamluks, Murad Bey and Ibrahim Bey, and had powerful and highly developed cavalry . This fight was known as The Battle of Chobrakit . </P>

What was the outcome of the battle of the pyramids