The Battle of Trafalgar was a naval engagement fought by the British Royal Navy against the combined fleets of the French and Spanish Navies during the War of the Third Coalition of the Napoleonic Wars.