The Barbary Wars were a series of two wars fought by the United States, Sweden, and the Kingdom of Sicily against the Barbary states and Morocco of North Africa in the early 19th century. Sweden had been at war with the Tripolitans since 1800 and was joined by the newly independent US. The First Barbary War extended from 10 May 1801 to 10 June 1805, with the Second Barbary War lasting only three days, ending on 19 June 1815. The Barbary Wars were the first major American war fought entirely outside the New World, and in the Arab World.
USS Philadelphia burning at the Battle of Tripoli Harbor during the First Barbary War in 1804
Brigantine Polly of Newburyport Captured by Algerine Pirates, 1793
Painting depicting the bombardment of Tripoli on 3 August 1804
Commodore Decatur and the dey of Algiers Haji Ali Pasha
The Regency of Algiers was a largely independent tributary state of the Ottoman Empire during the early modern period, located on the Barbary Coast of North Africa from 1516 to 1830. Founded by the corsair brothers Aruj and Hayreddin Barbarossa, the Regency was a formidable pirate base infamous for its corsairs. First ruled by Ottoman regents, it later became a sovereign military republic that plundered and waged maritime holy war against European Christian powers.
Conquest of Oran, 19th century painting by Francisco Jover y Casanova. Cardinal Cisneros in red
Aruj Berbarossa, Sultan of Algiers, 1590s
Model of Barbarossa Hayreddin Pasha's flagship "The Algerian" at the Istanbul Naval Museum
Hayreddin Barbarossa, first beylerbey of Algiers