Ganteaume's expeditions of 1801 Alexandria on 29 June and immediately invaded, rapidly advancing inland and defeating the Mamluk rulers of Egypt at the Battle of the Pyramids on 21 July. While the army had pushed inland, the fleet, under Vice-Admiral François-Paul Brueys D'Aigalliers, had anchored in Aboukir Bay near Alexandria, and was found there in the afternoon of 1 August by Nelson's fleet. Despite the growing darkness, Nelson attacked at once and in the three-day Battle of the Nile destroyed or captured eleven ships of the line and two frigates. Just two ships of the line and two frigates escaped and among the more
Action of 27 June 1798 the secret French recognition codes. This appears to have convinced the French that the strangers were not enemy ships, and no move was made against them, Foote and Gage free to observe the French anchorage in Aboukir Bay before striking out along the African coast in search of Nelson. The British admiral was at this time resupplying his ships at Syracuse on Sicily, and when he sailed on 25 July he passed eastwards to Morea where he learned of the French invasion of Egypt from the Turkish governor of Coron. Striking directly southwards, Nelson arrived at Aboukir Bay on 1