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.