During the American War of Independence on 20 October 1782 there was an inconclusive battle between British and French/Spanish fleets about 18 miles off the coast, the Battle of Cape Spartel between ships under Admiral Luis de Córdova y Córdova and a British fleet under Admiral Richard Howe. The battle was required to maintain British supplies to the besieged Rock of Gibraltar.