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.
Aruj (c.1474–1518), the elder Barbarossa
Khayr al-Din (Hayreddin) Pasha (c.1483–1546), the younger Barbarossa
The 1569 march on Tunis by Uluç Ali: 5,000 Janissaries, accompanied by Kabyle troops.
The Capture of Tunis by Uluj Ali, 1574.
The Barbary pirates, Barbary corsairs, or Ottoman corsairs were mainly Muslim pirates and privateers who operated from the Barbary states. This area was known in Europe as the Barbary Coast, in reference to the Berbers. Slaves in Barbary could be of many ethnicities, and of many different religions, such as Christian, Jewish, or Muslim. 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, the Netherlands, and Iceland.
A Sea Fight with Barbary Corsairs by Laureys a Castro, c. 1681
Barbaria by Jan Janssonius, shows the coast of North Africa, an area known in the 17th century as Barbaria, c. 1650
An Algerine pirate ship
A man from the Barbary states