The Barbary corsairs, Barbary pirates, Ottoman corsairs, [1] or naval mujahideen (in Muslim sources) [2] were mainly Muslim corsairs and privateers who operated from the largely independent Barbary states. This area was known in Europe as the Barbary Coast, in reference to the Berbers. [3] Slaves in Barbary could be of many ethnicities, and of many different religions, such as Christian, Jewish, or Muslim. [4] Their predation extended throughout the Mediterranean, south along West Africa's Atlantic seaboard and into the North Atlantic as far north as Iceland, but they primarily operated in the western Mediterranean. In addition to seizing merchant ships, they engaged in razzias , raids on European coastal towns and villages, mainly in Italy, France, Spain, and Portugal, but also in the British Isles, [4] and Iceland. [5]
While such raids began after the Muslim conquest of the Iberian Peninsula in the 710s, the terms "Barbary pirates" and "Barbary corsairs" are normally applied to the raiders active from the 16th century onwards, when the frequency and range of the slavers' attacks increased. In that period, Algiers, Tunis and Tripoli came under the sovereignty of the Ottoman Empire, either as directly administered provinces or as autonomous dependencies known as the Barbary states. Similar raids were undertaken from Salé (see Salé Rovers) and other ports in Morocco.
Barbary corsairs captured thousands of merchant ships and repeatedly raided coastal towns in Europe. As a result, residents abandoned their former villages on long stretches of coast in Spain and Italy.
The raids were such a problem that coastal settlements were seldom undertaken until the 19th century. Between 1580 and 1680, corsairs were said to have captured about 850,000 people as slaves and from 1530 to 1780 as many as 1.25 million people were enslaved. [4] However, these numbers are estimated and provided by only one historian, Robert Davis, and have been questioned by others like David Earle. [6] Some of these corsairs were European outcasts and converts (renegade) such as John Ward and Zymen Danseker. [5] Hayreddin Barbarossa and Oruç Reis, the Turkish Barbarossa brothers, who took control of Algiers on behalf of the Ottomans in the early 16th century, were also notorious corsairs. The European pirates brought advanced sailing and shipbuilding techniques to the Barbary Coast around 1600, which enabled the corsairs to extend their activities into the Atlantic Ocean. [5] The effects of the Barbary raids peaked in the early-to-mid-17th century.
Long after Europeans had abandoned oar-driven vessels in favor of sailing ships carrying tons of powerful cannon, many Barbary warships were galleys carrying a hundred or more fighting men armed with cutlasses and small arms. The Barbary navies were not battle fleets. When they sighted a European frigate, they fled. [7]
The scope of corsair activity began to diminish in the latter part of the 17th century, [8] as the more powerful European navies started to compel the Barbary states to make peace and cease attacking their shipping. However, the ships and coasts of Christian states without such effective protection continued to suffer until the early 19th century. Between 1801 and 1815, occasional incidents occurred, including two Barbary Wars waged by the United States, Sweden and the Kingdom of Sicily against the Barbary states. Following the Napoleonic Wars and the Congress of Vienna in 1814–15, European powers agreed upon the need to suppress the Barbary corsairs entirely. The remainder of the threat was finally subdued for Europeans by the French conquest of Algeria in 1830 and so-called "pacification" by the French during the mid-to-late 19th century.
The Barbary corsairs were active from medieval times to the 1800s.
Both Europeans (e.g., the Dum Diversas) and Muslims considered themselves to be waging holy wars against each other during this era. European and American historical sources bluntly consider these operations to be a form of piracy and that their goal was mainly to seize ships to obtain spoils, money, and slaves. Muslim sources, however, sometimes refer to the "Islamic naval jihad"—casting the conflicts as part of a sacred mission of war under Allah, differing from the more familiar form of jihad only in being waged at sea. Accounts of Andalusian Muslims being persecuted by the notoriously ruthless Spanish Inquisition—willingly abetted by the so-called "Catholic Monarchs", who (though inaugurating what would later become Spain's "Golden Age") were initially faced with the post-Reconquista necessity of binding their (hitherto-divided) territories together, and hence adopted a militantly Christian national identity [9] —provided more than enough justification, in Muslim eyes. [10]
In 1198, the problem of Barbary piracy and slave-taking was so significant that the Trinitarians, a religious order, was founded to collect ransoms and even to exchange themselves as a ransom for those captured and pressed into slavery in North Africa. In the 14th century, Tunisian corsairs became enough of a threat to provoke a Franco-Genoese attack on Mahdia in 1390 (also known as the "Barbary Crusade"). Moorish exiles of the Reconquista and Maghreb pirates added to the numbers, but it was not until the expansion of the Ottoman Empire and the arrival of the privateer and admiral Kemal Reis in 1487 that the Barbary corsairs became a true menace to shipping from European Christian nations. [11]
From 1559, the North African cities of Algiers, Tunis, and Tripoli, although nominally part of the Ottoman Empire, were autonomous military republics that chose their rulers and lived by war booty captured from the Spanish and Portuguese. There are several cases of Sephardic Jews, including Sinan Reis and Samuel Pallache, who upon fleeing Iberia attacked the Spanish Empire's shipping under the Ottoman flag. [12] [13]
During the first period (1518–1587), the beylerbeys were admirals of the sultan, commanding great fleets and conducting war operations for political ends. They were slave hunters, and their methods were ferocious. After 1587, the sole object of their successors was plundering, both on land and sea. The maritime operations were conducted by the captains, or reises, who formed a class or even a corporation. Cruisers were fitted out by investors and commanded by the reises. 10% of the value of the prizes was paid to the pasha or his successors, who bore the titles of agha or dey or bey . [14]
In 1544, Hayreddin captured the island of Ischia, taking 4,000 prisoners, and enslaved some 2,000–7,000 inhabitants of Lipari. [15] [16] In 1551, Turgut Reis enslaved the entire population of the Maltese island of Gozo, between 5,000 and 6,000, sending them to Ottoman Tripolitania. In 1554, corsairs under Turgut Reis sacked Vieste, beheaded 5,000 of its inhabitants, and abducted another 6,000. [17]
In the early years of the 17th century, the Barbary states attracted English pirates, many of whom had previously operated as privateers under Queen Elizabeth I. Still, they found themselves unwanted by her successor King James VI and I. Whereas in England, these pirates were reviled, in the Barbary states, they were respected and had access to safe markets to resupply and repair their ships. Many of these pirates converted to Islam. [18]
A notable Christian action against the Barbary states occurred in 1607, when the Knights of Saint Stephen (under Jacopo Inghirami) sacked Bona in Algeria, killing 470 and taking 1,464 captives. [19] This victory is commemorated by a series of frescoes painted by Bernardino Poccetti in the "Sala di Bona" of Palazzo Pitti, Florence. [20] [21] In 1611, Spanish galleys from Naples, accompanied by the galleys of the Knights of Malta, raided the Kerkennah Islands off the coast of Tunisia and took away almost 500 Muslim captives. [22] Between 1568 and 1634, the Knights of Saint Stephen may have captured about 14,000 Muslims, with perhaps one-third taken in land raids and two-thirds taken on captured ships. [22]
Ireland was attacked similarly. In June 1631, Murat Reis, with corsairs from Algiers and armed troops of the Ottoman Empire, stormed ashore at the little harbor village of Baltimore, County Cork. They captured almost all the villagers and took them away to a life of slavery in North Africa. [14] The prisoners were destined for a variety of fates—some lived out their days chained to the oars as galley slaves. At the same time, women spent long years as concubines in harems or within the walls of the sultan's palace. Only two of these captives ever returned to Ireland. [23] [ page needed ] England was also subject to pirate raids; in 1640, 60 men, women and children were enslaved by Algerian corsairs who raided Penzance. [24] [25]
More than 20,000 captives were said to be imprisoned in Algiers alone. The rich were often able to secure release through ransom, but the poor were condemned to slavery. Their masters would, on occasion, allow them to secure freedom by professing Islam. A long list might be given of people of good social position, not only Italians or Spaniards but German or English travelers in the south, who were captives for a time. [14]
In 1675, a Royal Navy squadron led by Sir John Narborough negotiated a lasting peace with Tunis and, after bombarding the city to induce compliance, with Tripoli. [26]
Piracy was enough of a problem for some states to enter the redemption business. In Denmark:
At the beginning of the 18th century, money was collected systematically in all churches, and a so-called 'slave fund' (slavekasse) was established by the state in 1715. Funds were brought in through a compulsory insurance sum for seafarers. This institution ransomed 165 slaves between 1716 and 1736. [27]
Between 1716 and 1754, 19 ships from Denmark-Norway were captured with 208 men; piracy was thus a serious problem for the Danish merchant fleet. [27]
Until the American Declaration of Independence in 1776, British treaties with the North African states protected American ships from the Barbary corsairs. During the American Revolutionary War, the Corsairs attacked American merchant vessels in the Mediterranean. However, on December 20, 1777, Sultan Mohammed III of Morocco issued a declaration recognizing America as an independent country, and stating that American merchant ships could enjoy safe passage into the Mediterranean and along the coast. [28] The relations were formalized with the Moroccan–American Treaty of Friendship signed in 1786, which stands as the U.S.'s oldest non-broken friendship treaty [29] [30] with a foreign power.
The Barbary threat led directly to the United States founding the United States Navy in March 1794. While the United States did secure peace treaties with the Barbary states, it was obliged to pay tribute for protection from attack. The burden was substantial: from 1795, the annual tribute paid to the Regency of Algiers amounted to 20% of United States federal government's annual expenditures. [31]
In 1798, an islet near Sardinia was attacked by the Tunisians, and more than 900 inhabitants were taken away as slaves. [32]
The Barbary states had difficulty securing uniform compliance with a total prohibition of slave-raiding, as this had been traditionally of central importance to the North African economy. Slavers continued to take captives by preying on less well-protected peoples. Algiers subsequently renewed its slave-raiding, though on a smaller scale. Europeans at the Congress of Aix-la-Chapelle in 1818 discussed possible retaliation. In 1824, a British fleet under Admiral Sir Harry Burrard Neale bombarded Algiers.[ citation needed ] Corsair activity based in Algiers did not entirely cease until France conquered the state in 1830. [14]
From bases on the Barbary Coast, North Africa, the Barbary corsairs raided ships travelling through the Mediterranean and along the northern and western coasts of Africa, plundering their cargo and enslaving the people they captured. From at least 1500, the corsairs also conducted raids along seaside towns of Italy, France, Spain, Portugal, England and as far away as Iceland, capturing men, women and children. On some occasions, settlements such as Baltimore, Ireland were abandoned following the raid, only being resettled many years later. Between 1609 and 1616, England alone had 466 merchant ships lost to Barbary corsairs. [33]
At night the slaves were put into prisons called ' bagnios ' (derived from the Italian word "bagno" for public bath, inspired by the Turks' use of Roman baths at Constantinople as prisons), [34] which were often hot and overcrowded. Bagnios had chapels, hospitals, shops and bars run by captives. [35]
Although the conditions in bagnios were harsh, they were better than those endured by galley slaves. Most Barbary galleys were at sea for around eighty to a hundred days a year, but when the slaves assigned to them were on land, they were forced to do hard manual labor. There were exceptions:
galley slaves of the Ottoman Sultan in Constantinople would be permanently confined to their galleys, and often served extremely long terms, averaging around nineteen years in the late seventeenth-century and early eighteenth-century periods. These slaves rarely got off the galley but lived there for years. [36]
During this time, rowers were shackled and chained where they sat, and never allowed to leave. Sleeping (which was limited), eating, defecation and urination took place at the seat to which they were shackled. There were usually five or six rowers on each oar. Overseers would walk back and forth and whip slaves considered not to be working hard enough.
The number of slaves captured by Barbary corsairs are difficult to quantify. According to Robert Davis, between 1 million and 1.25 million Europeans were captured by Barbary corsairs and sold as slaves in North Africa and Ottoman Empire between the 16th and 19th centuries. [37] [38] However, to extrapolate his numbers, Davis assumes the number of European slaves captured by Barbary corsairs were constant for a 250-year period, stating:
There are no records of how many men, women and children were enslaved, but it is possible to calculate roughly the number of fresh captives that would have been needed to keep populations steady and replace those slaves who died, escaped, were ransomed, or converted to Islam. On this basis it is thought that around 8,500 new slaves were needed annually to replenish numbers—about 850,000 captives over the century from 1580 to 1680. By extension, for the 250 years between 1530 and 1780, the figure could easily have been as high as 1,250,000. [6]
Historians welcomed Davis's attempt to quantify the number of European slaves, but were divided as to the accuracy of the unorthodox methodology which he relied on in the absence of written records. The historian David Earle, author of The Corsairs of Malta and Barbary and The Pirate Wars, questioned Davis, saying "His figures sound a bit dodgy and I think he may be exaggerating." He cautioned that the true picture of European slaves is clouded by the fact that the corsairs also seized non-Christian whites from eastern Europe and black people from west Africa. He wouldn't "hazard a guess about their total". Professor Ian Blanchard, an expert on African trade and economic history at the University of Edinburgh, said that Davis's work was solid and that a number over a million was in line with his expectations. [6]
Davis notes that his calculations were based on observers reports of approximately 35,000 European Christian slaves on the Barbary Coast at any one time during the late 1500s and early 1600s, held in Tripoli, Tunis and, mostly, Algiers. [39]
The history of Muslim enslavement of white Europeans has been cited by some as contextualising the importance of subsequent European and American enslavement of blacks. Scholar Robert Davis noted that the larger picture isn't so one-sided: during a "clash of empires... taking slaves was part of the conflict," and at the same time 2 million Europeans were enslaved by Muslims in North Africa and the Near East, 1 million Muslim slaves in Europe. [40]
As Dr. John Callow at University of Suffolk notes, the experience of enslavement by the Barbary corsairs preceded the Atlantic slave trade and "the memory of slavery, and the methodology of slaving, that was burned into the British consciousness was first and foremost rooted in a North African context, where Britons were more likely to be slaves than slave masters." [41]
According to historian, Adrian Tinniswood, the most notorious corsairs were European renegades who had learned their trade as privateers, and who moved to the Barbary Coast during peacetime to pursue their trade. These outcasts, who had converted to Islam, brought up-to-date naval expertise to the piracy business, and enabled the corsairs to make long-distance slave-catching raids as far away as Iceland and Newfoundland. [5] Infamous corsair Henry Mainwaring, who was initially a lawyer and pirate-hunter, later returned home to a royal pardon. Mainwaring later wrote a book about the practise of piracy in the Mediterranean, aptly titled the Discourse of Pirates. In the book, Mainwaring outlined potential methods to hunt down and eliminate piracy. [5]
The most famous of the corsairs in North Africa were the Barbarossa brothers, Aruj and Khayr al-Din. They, and two less well-known brothers all became Barbary corsairs in the service of the Ottoman Empire who later became "Kings" when they established a new state in the Maghreb known as the Ottoman Regency of Algiers. [42] They were called the Barbarossas (Italian for Redbeards) after the red beard of Oruç, the eldest. Oruç captured the island of Djerba for the Hafsids in 1502 or 1503. He often attacked Spanish coasts and their territories on the coast of North Africa; during one failed attempt in Béjaia in 1512 he lost his left arm to a cannonball. The eldest Barbarossa also went to capture Algiers in 1516. Well aided by his Berber allies from the Kingdom of Kuku, he vanquished a Spanish expedition intended to replace the Spanish vassal ruler of Algiers that he executed with his son along with everybody he suspected would oppose him in favor of his Spanish foes, including local Zayyanid rulers. He was finally captured and killed by the Spanish in Tlemcen in 1518, and put on display.
Oruç, based mainly on land, was not the best-known of the Barbarossas. His youngest brother Hızır (later called Hayreddin or Kheir ed-Din) was a more traditional corsair. After capturing many crucial coastal areas, Hayreddin was appointed admiral-in-chief of the Ottoman sultan's fleet. Under his command the Ottoman Empire was able to gain and keep control of the Mediterranean for over thirty years. Barbaros Hızır Hayreddin Pasha died in 1546 of a fever, possibly the plague.
English corsair Jack, or John, Ward was once called "beyond doubt the greatest scoundrel that ever sailed from England" by the English ambassador to Venice. Ward was a privateer for Queen Elizabeth during her war with Spain; after the end of the war, he became a corsair. With some associates he captured a ship in about 1603 and sailed it to Tunis; he and his crew converted to Islam. He was successful and became rich. He introduced heavily armed square-rigged ships, used instead of galleys, to the North African area, a major reason for the Barbary's future dominance of the Mediterranean. He died of plague in 1622.
Sayyida al-Hurra was a female Muslim cleric, merchant, governor of Tétouan, and later the wife of the sultan of Morocco. [43] [44] She was born around 1485 in the Emirate of Granada, but was forced to flee to Morocco when she was very young to escape the Reconquista. In Morocco, she gathered a crew largely of exiled Moors, and launched pirate expeditions against Spain and Portugal to avenge the Reconquista, protect Morocco from Christian pirates, and seek riches and glory. Sayyida al-Hurra became wealthy and renowned enough for the Sultan of Morocco, Ahmad al-Wattasi to make her his queen. Notably, however, she refused to marry in his capital of Fez, and would not get married but in Tétouan, of which she was governor. This was the first and only time in history that a Moroccan monarch married away from their capital.
Hamidou ben Ali, known as Raïs Hamidou (Arabic : الرايس حميدو), or Amidon in American literature, born around 1770, and died on June 17, 1815, near Cape Gata off the coast of southern Spain, was an Algerian corsair. [45] He captured up to 200 ships during his career. [46] Hamidou ensured the prosperity of the Deylik of Algiers, and gave it its last glory before the French invasion. His biography is relatively well known because the French archivist Albert Devoulx has found important documents, including a precious register of prizes opened by the authorities of the Deylik in 1765. [47] Songs and legends have also taken hold of this charismatic character.
Barbary corsairs are protagonists in Le pantere di Algeri (the panthers of Algiers) by Emilio Salgari. They were featured in a number of other noted novels, including Robinson Crusoe by Daniel Defoe, The Count of Monte Cristo by Alexandre Dumas, père, The Wind in the Willows by Kenneth Grahame, The Sea Hawk and the Sword of Islam by Rafael Sabatini, The Algerine Captive by Royall Tyler, Master and Commander by Patrick O'Brian, the Baroque Cycle by Neal Stephenson, The Walking Drum by Louis Lamour, Doctor Dolittle by Hugh Lofting, Corsair by Clive Cussler, Tanar of Pellucidar by Edgar Rice Burroughs, and Angélique in Barbary by Anne Golon.
Miguel de Cervantes, the Spanish author, was captive for five years as a slave in the bagnio of Algiers, and reflected his experience in some of his fictional (but not directly autobiographical) writings, including the Captive's tale in Don Quixote , his two plays set in Algiers, El Trato de Argel (The Treaty of Algiers) and Los Baños de Argel (The Baths of Algiers), and episodes in a number of other works.
In Mozart's opera Die Entführung aus dem Serail (a Singspiel), two European ladies are discovered in a Turkish harem, presumably captured by Barbary corsairs. Rossini's opera L'italiana in Algeri is based on the capture of several slaves by Barbary corsairs led by the bey of Algiers.
{{cite book}}
: CS1 maint: location missing publisher (link){{cite book}}
: CS1 maint: location missing publisher (link){{cite book}}
: CS1 maint: location missing publisher (link)The First Barbary War (1801–1805), also known as the Tripolitan War and the Barbary Coast War, was a conflict during the 1801–1815 Barbary Wars, in which the United States fought against Ottoman Tripolitania. Tripolitania had declared war against the United States over disputes regarding tributary payments in exchange for a cessation of Tripolitanian commerce raiding at sea. United States President Thomas Jefferson refused to pay this tribute. The First Barbary War was the first major American war fought outside the New World, and in the Arab world, besides the smaller American–Algerian War (1785–1795).
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.
The Second Barbary War, also known as the U.S.–Algerian War and the Algerine War, was a brief military conflict between the United States and the North African state of Algiers in 1815.
The Barbary Coast was the name given to the coastal regions of central and western North Africa or more specifically the Maghreb and the Ottoman borderlands consisting of the regencies in Algiers, Tunis, and Tripoli, as well as the Sultanate of Morocco from the 16th to 19th centuries. The term originates from an exonym for the Berbers.
Occhiali was an Italian privateer and admiral who served as the commander of the Regency of Algiers and Grand Admiral of the Ottoman fleet.
The sack of Baltimore took place on 20 June 1631, when the village of Baltimore in West Cork, Ireland, was attacked by pirates from the Barbary Coast of North Africa – the raiders included Dutchmen, Algerians, and Ottoman Turks. The attack was the largest by Barbary slave traders on Ireland.
Aruj Barbarossa, known as Oruç Reis to the Turks, was an Ottoman corsair who became Sultan of Algiers. The elder brother of the famous Ottoman admiral Hayreddin Barbarossa, he was born on the Ottoman island of Midilli and died in battle against the Spanish at Tlemcen.
White slavery refers to the enslavement of any of the world's European ethnic groups throughout human history, whether perpetrated by non-Europeans or by other Europeans. Slavery in ancient Rome was frequently dependent on a person's socio-economic status and national affiliation, and thus included European slaves. It was also common for European people to be enslaved and traded in the Muslim world; European women, in particular, were highly sought-after to be concubines in the harems of many Muslim rulers. Examples of such slavery conducted in Islamic empires include the Arab slave trade, the Barbary slave trade, the Ottoman slave trade, and the Black Sea slave trade, among others.
Hayreddin Barbarossa, also known as Hayreddin Pasha, Hızır Hayrettin Pasha, and simply Hızır Reis, was an Ottoman corsair and later admiral of the Ottoman Navy. Barbarossa's naval victories secured Ottoman dominance over the Mediterranean during the mid-16th century.
Slave raiding is a military raid for the purpose of capturing people and bringing them from the raid area to serve as slaves. Once seen as a normal part of warfare, it is nowadays widely considered a war crime. Slave raiding has occurred since antiquity. Some of the earliest surviving written records of slave raiding come from Sumer. Kidnapping and prisoners of war were the most common sources of African slaves, although indentured servitude or punishment also resulted in slavery.
Jan Janszoon van Haarlem, commonly known as Reis Mourad the Younger, was a Dutch pirate who later became a Barbary corsair in Ottoman Algeria and the Republic of Salé. After being captured by Algerian corsairs off Lanzarote in 1618, he converted to Islam and changed his name to Mourad. He became one of the most famous of the 17th-century Barbary corsairs. Together with other corsairs, he helped establish the independent Republic of Salé at the city of that name, serving as the first President and Commander. He also served as Governor of Oualidia.
The Turkish Abductions were a series of slave raids by pirates from Algier and Salé that took place in Iceland in the summer of 1627.
The Barbary slave trade involved the capture and selling of European slaves at slave markets in the largely independent Ottoman Barbary states. European slaves were captured by Barbary pirates in slave raids on ships and by raids on coastal towns from Italy to Ireland, and the southwest of Britain, as far north as Iceland and into the Eastern Mediterranean.
Anglo-Turkish piracy or the Anglo-Barbary piracy was the collaboration between Barbary pirates and English pirates against Catholic shipping during the 17th century.
Slavery on the Barbary Coast refers to the enslavement of people taken captive by the Barbary corsairs of North Africa.
Dragut was an Ottoman corsair, naval commander, governor, and noble. Under his command, the Ottoman Empire's maritime power was extended across North Africa. Recognized for his military genius, and as being among "the most dangerous" of corsairs, Dragut has been referred to as "the greatest pirate warrior of all time", "undoubtedly the most able of all the Turkish leaders", and "the uncrowned king of the Mediterranean". He was nicknamed "the Drawn Sword of Islam". He was described by a French admiral as "a living chart of the Mediterranean, skillful enough on land to be compared to the finest generals of the time" and that "no one was more worthy than he to bear the name of king". Hayreddin Barbarossa, who was his mentor, stated that Dragut was ahead of him "both in fishing and bravery".
Ottoman Tunisia, also known as the Regency of Tunis, refers to the Ottoman presence in Ifriqiya from the 16th to 19th centuries, when Tunis was officially integrated into the Ottoman Empire as the Eyalet of Tunis. The Ottoman presence in the Maghreb began with the takeover of Algiers in 1516 by the Ottoman Turkish corsair and beylerbey Aruj, eventually expanding across the entire region except for Morocco. The first Ottoman conquest of Tunis occurred in 1534 under the command of Khayr al-Din Barbarossa, the younger brother of Aruj, who was the Kapudan Pasha of the Ottoman Fleet during the reign of Suleiman the Magnificent. However, it was not until the final Ottoman reconquest of Tunis from Spain in 1574 that the Turks permanently acquired the former territories of Hafsid Tunisia, retaining it until the French occupation of Tunisia in 1881.
Slavery existed in Morocco since antiquity until the 20th-century. Morocco was a center of the Trans-Saharan slave trade route of enslaved Black Africans from sub-Saharan Africa until the 20th-century, as well as a center of the Barbary slave trade of Europeans captured by the Barbary pirates until the 19th-century. The open slave trade was finally suppressed in Morocco in the 1920s. The haratin and the gnawa have been referred to as descendants of former slaves.
Slavery is noted in the area later known as Algeria since antiquity. Algeria was a center of the Trans-Saharan slave trade route of enslaved Black Africans from sub-Saharan Africa, as well as a center of the slave trade of Barbary slave trade of Europeans captured by the barbary pirates.
The ta'ifa of raïs or the Raïs for short, were Barbary pirates based in Ottoman Algeria who were involved in piracy and the slave trade in the Mediterranean Sea from the 16th to the 19th century. They were an ethnically mixed group of seafarers, including mostly "renegades" from European provinces of the Mediterranean and the North Sea, along with a minority of Turks and Moors. Such crews were experienced in naval combat, making Algiers a formidable pirate base. Its activity was directed against the Spanish empire, but it did not neglect the coasts of Sicily, Sardinia, Naples or Provence. It was the taifa which, through its seizures, maintained the prosperity of Algiers and its finances.