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
Action of 24 June 1801 a British fleet under Rear-Admiral Sir Horatio Nelson destroyed the French Mediterranean Fleet at Aboukir Bay on the Egyptian coast. The battle completely reversed the strategic situation in the Mediterranean: British forces had evacuated the region in 1796 after the Treaty of San Ildefonso brought Spain into the war on the French side, but they were now able to return in large numbers. As French maritime lines of communication were cut, the French "Armée d'Orient" under General Napoleon Bonaparte became trapped in Egypt. Unable to return to Europe by sea, the army attempted and failed to pass overland through Palestine