First Barbary War

1801–1805

The Barbary states of North Africa lived partly on tribute paid by Christian nations to keep their corsairs from seizing ships and enslaving crews. When President Jefferson refused to pay more, Yusuf Karamanli, the pasha of Tripoli, declared war in May 1801. American squadrons blockaded Tripoli for four years, at first half-heartedly. In October 1803 the frigate Philadelphia ran aground off the harbour and was captured with her crew of over 300, but in February 1804 Stephen Decatur slipped into the harbour in a captured ketch and burned her. Commodore Edward Preble then attacked Tripoli five times in the summer of 1804 with his ships and borrowed gunboats and bomb vessels. In 1805 an American-led force marched across the desert from Egypt and took Derna with the help of three American warships, and the pasha made peace, releasing the prisoners for a ransom of $60,000.

How the fleets moved

Click a route to see which ships made it, or a battle for its summary. Routes are approximate.

Loading map…

American movement

Battle (size: ships engaged)

Routes are approximate.

Major battles

The 4 biggest of the 6 battles covered here, by ships engaged.

All 6 battles on the map →

1 August 1801

USS Enterprise vs Tripoli

Off Malta

American victory; the corsair dismasted and sent home

1

vs

1

16 February 1804

Burning of the Philadelphia

Tripoli harbour

American success; Philadelphia burned

2

vs

1 (1 lost)

3 August – 3 September 1804

Bombardment of Tripoli

Off Tripoli

Indecisive; Tripoli held out

14 (1 lost)

vs

0 (3 lost)

27 April 1805

Battle of Derna

Derna, Cyrenaica

American victory; Derna taken

3

Fleets

Each navy's ships in the war, from its biggest down.

All 10 ships →