First Battle of Algeciras manoeuvrable ships, which resulted in the British inflicting heavy losses on the Spanish rearguard but failing for a second time to destroy the French squadron. On 1 August 1798, the French Mediterranean Fleet was almost completely destroyed at the Battle of the Nile in Aboukir Bay off Egypt. As a result, the British Royal Navy became dominant in the Mediterranean Sea and imposed blockades on French and Spanish ports in the region, including the important naval bases of Toulon and Cadiz. By 1801, the British were planning a large scale operation to invade and recapture Egypt from the French, and
Siege of Malta (1798–1800) without discovering their presence, and arrived off Alexandria on 28 June ahead of Bonaparte. Believing that the French must have had a different objective, Nelson turned northwards the following day to investigate the coast of Anatolia and missed Bonaparte's arrival on 30 June by less than 24 hours. Unopposed, Bonaparte landed his army and marched on Alexandria, capturing the city and turning inland. The fleet was ordered to anchor in nearby Aboukir Bay and await further instructions. On 1 August, Nelson returned to the Egyptian coast and discovered the French fleet at anchor. Attacking immediately, Nelson's ships managed to capture