Great Britain and
Spain had become reluctant allies in 1793, despite a history of antagonism in the Mediterranean, against the newly formed
French Republic in the
War of the First Coalition. The Spanish refused to allow British officers to command Spanish forces, and tensions between the fleets were still high following the 1790
Nootka Crisis. While supposedly co-operating at the
Siege of Toulon, the Spanish Admiral
Juan de Lángara engaged in such a heated argument with his British counterpart Vice-Admiral
Lord Hood over strategy that he threatened to open fire on the British flagship
HMS Victory, while the disastrous failure of the allied defense of the city was marked by accusations that Spanish forces had deliberately sabotaged a combined operation to destroy the French Mediterranean Fleet. During 1794 and 1795 the Spanish suffered a series of defeats in the
War of the Pyrenees, and in August 1795 they signed a peace treaty with France, removing their forces from the Mediterranean campaign. Inconclusive fighting that year between British and French fleets at the
Battle of Genoa and the
Battle of the Hyères Islands led to a stalemate, the French under
blockade at
Toulon sending raiding squadrons against British trade. During 1796 the
Italian campaigns of
Napoleon Bonaparte eliminated Britain's Italian allies, while diplomatic negotiations brought Spain into an alliance with France in August, through the
Treaty of San Ildefonso. On 5 October Spain declared war on Britain and a large Spanish fleet united with the French at Toulon. Under threat from this much larger combined force, Vice-Admiral
Sir John Jervis ordered the British Mediterranean Fleet to withdraw from the Mediterranean.
Gibraltar, at the mouth of the sea, was too small to support a fleet and so Jervis withdrew all the way to the
Tagus at
Lisbon. During the summer and early autumn of 1796 French forces had seized
Leghorn and invaded and recaptured
Corsica, denying the British safe anchorages in the Western Mediterranean. As a temporary base Jervis ordered the seizure of the
Tuscan island of
Elba, to which all of the remaining British personnel in the Mediterranean withdrew. Ashe pulled his main fleet to the Tagus, Jervis ordered Commodore
Horatio Nelson of
HMS Captain to leave his ship and take a small
frigate squadron to Elba and collect the remaining personnel as the final evacuation of the Mediterranean. ==Action==