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
HMS Swiftsure (1787) Irwin, but the following month Captain Benjamin Hallowell took command. Hallowell was still in command of "Swiftsure" in 1798, when he was ordered to join Horatio Nelson's squadron, watching the French fleet at Toulon. After the French escaped and captured Malta in June, and invaded Egypt in July, Nelson and his fleet pursued them, eventually locating them anchored in Aboukir Bay on 1 August. "Swiftsure" was not initially with the fleet, having been ordered by Nelson to reconnoitre Alexandria, before the French had been discovered. He arrived on the scene after dark and moved into the bay to attack. The