The Barbary “pirates” started to capture European ships and enslave the crews in the fifteenth century, especially following Spain’s expulsion of Muslims. Conflicts with the United States began in 1784, when a Moroccan corsair captured the U.S. merchant ship Betsey off the coast of Spain.
The Betsey incident underscored the vulnerability of the United States in the Mediterranean–no longer could it depend upon Great Britain for protection. The United States would have to make treaties with Algiers, Morocco, Tripoli, and Tunis in order to get passports that ensured safe travel for merchant ships. See below for an 1803 passport issued to the New Hampshire brigantine Little Cherub.
Thankfully for the United States, peace was soon made with Morocco. The emperor had a personal fascination with the United States’ rebellion against Britain and wanted to formally recognize the new country. Upset that his letters had been ignored (American policymakers had been preoccupied with the Revolutionary War!), he had the Betsey captured in order to expedite the treaty-making process. The 1787 treaty is the longest unbroken treaty in United States history–see below for a stamp issued by the U.S. Post Office to commemorate the bicentennial.
Why do I use quotation marks around “pirates”? The Barbary “pirates” weren’t pirates in today’s sense of the word. The governments of Algiers, Morocco, Tripoli, and Tunis sponsored the raiding of European and American ships and the enslavement of the crews. Gaining money from making treaties (known as “tribute”) and from selling captives back to their home country generated an enormous amount of revenue for these countries. European and American diplomats dealt directly with the monarchs and their government officials when making treaties and ransoming captives. One scholar has estimated that the Barbary States captured and enslaved 1 million to 1.25 million European Christians from 1530 to 1780. Essentially, the Barbary “pirates” were businessmen who specialized in hostage-taking.
Were the Barbary “pirates” motivated by religion? Yes and no. Obviously, the (Muslim) Barbary States targeted ships from (Christian) Europe and America. However, the North Africans did not consider attacks on European and American ships as a sort of holy war (or jihad) in the modern sense. They readily made peace with European countries and the United States when these countries paid a sufficient amount (the cost ranged from tens of thousands of dollars to millions). Also, the Barbary States did not want to kill captives, but to turn a profit by selling them back to their home countries.
Moreover, Americans did not consider Barbary piracy as religiously motivated—the overwhelming number of sources from the late 1700s and early 1800s depict the North Africans as motivated by greed. A Tunisian diplomat even visited the United States for ten months during Thomas Jefferson’s presidency and no one ever referred to him as a religious terrorist. Some people actually liked him and vied for the opportunity to host him at parties!