First Barbary War
The First Barbary War (1801–1805), also known as the Tripolitan War and the Barbary Coast War, was the first of two Barbary Wars, in which the United States and Sweden fought against the four North African states known collectively as the "Barbary States". Three of these were autonomous, but nominally provinces of the Ottoman Empire: Tripoli, Algiers, and Tunis. The fourth was the independent Sultanate of Morocco.