On July 21st 1798 the Battle of the Pyramids took place, the battle was part of Napoleon’s 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.
The victory effectively sealed the French conquest of Egypt, the battle was one of the classic encounters in East–West rivalry, the battle highlighted the weaknesses of the Ottoman Empire in the face of a changing Europe rocked by the French Revolution. Napoleon named the battle after the Egyptian pyramids because they were faintly visible on the horizon when the battle took place.