Action of 18 August 1798 by Napoleon Bonaparte intended for the invasion of Egypt. The convoy successfully eluded Nelson and the army landed at Alexandria on 31 June, capturing the city and advancing inland. The fleet was too large to anchor in Alexandria harbour and instead Bonaparte ordered its commander, Vice-Admiral François-Paul Brueys D'Aigalliers to take up station in Aboukir Bay. On discovering the French Nelson attacked immediately, ordering his ships to advance on the French line and engage, beginning the Battle of the Nile. As he closed with the French line, Captain Thomas Foley on the lead ship HMS "Goliath" realised that there was
French fleet at the Siege of Toulon the Battle of Genoa and another in July at the Battle of Hyères Islands. These engagements marked the only encounters between the British fleet and the French fleet they so briefly held before the Royal Navy was forced to withdraw from the Mediterranean by the 1796 Treaty of San Ildefonso at which the Spanish changed sides, allying with France against Britain. "The ships in the orders of battle below are listed by class and then approximately grouped by their positions on 18 December 1793. Note that although the Rating system for ships of the line was a Royal Navy measure,