BARBARY STATES
From the mid-1500s to the mid-1800s the North African countries of Morocco, Algiers (present-day Algeria), Tunis (now Tunisia), and Tripoli (in northwestern Libya) were called the Barbary States. The name was derived from the Turkish leader and pirate Barbarossa, whose name means "red beard" in Italian. Barbarossa's original name was Khayr ad-Din (c. 1483–1546).
Barbarossa seized Spanish-occupied Algiers in 1518. He placed Algiers and three other states he later captured in the hands of the Ottoman Turks. Under Turkish leadership the region became a center for pirates who raided Spanish and Portuguese ships on the Mediterranean Sea and along Africa's Atlantic coast. The pirates (also called corsairs) demanded payment in the form of loot or slaves.
At the same time the Barbary States extorted money from European nations and the United States. They required the governments of these countries to pay tribute for protecting their merchant marine from seizure by the corsairs. By 1800 the United States had paid Tripoli alone an estimated $2 million. After Thomas Jefferson (1743–1826) became president of the United States in 1801 Tripoli increased the amount of the tribute. Jefferson had complained bitterly about these payments since his days as U.S. minister to France (1785–89). He preferred to fight the rogue states rather than concede to their demands.
The next 15 years saw intermittent conflict between the United States and Tripoli. The U.S. Navy won important battles along the North African coast. In 1815 the leaders of Algiers, Tunis, and Tripoli signed treaties that obligated them to cease collecting tribute or ransom from the United States. European military initiatives placed further pressure on the Barbary States to end their acts of piracy by 1835.