The Algeciras campaign, or Battles of Algeciras, was a brief naval campaign fought between a combined French and Spanish Navy force and a British Royal Navy force during 4–13 July 1801. A French squadron, seeking to join the Spanish fleet and a number of French ships of the line at the Spanish Atlantic base of Cadiz, sailed from Toulon on 13 June under Contre-amiral Charles Linois. Rounding the British naval base of Gibraltar on the southern coast of Spain on 4 July, Linois learned that a British squadron under Rear-Admiral Sir James Saumarez was on station off Cadiz. Seeking to avoid battle with Saumarez's much larger force, Linois anchored in the Spanish port of Algeciras, close to Gibraltar. Saumarez discovered Linois there on 6 July and attacked at 08:30, his ships hampered by light winds and Linois's strong defensive position.