The French defeated a Mamluk army in the Battle of the Pyramids and drove the survivors out to Upper Egypt. The Mamluks relied on massed cavalry charges, changed only by the addition of muskets. The French infantry formed square and held firm. Despite multiple victories and an initially successful expedition into Syria, mounting conflict in Europe and the earlier defeat of the supporting French fleet by the British Royal Navy at the Battle of the Nile decided the issue.