عروج بربروس
Ottoman Tunis, or Ottoman Tunisia, refers to the episode of the Turkish presence in Ifriqiya during the course of three centuries from the 16th century until the 18th century, when Tunis was officially integrated into the Ottoman Empire as the Eyalet of Tunis (province). Eventually including all of the Maghrib except Morocco, the Ottoman Empire began with the takeover of Algiers in 1516 by the Ottoman Turkish corsair and beylerbey Oruç Reis. The first Ottoman conquest of Tunis took place in 1534 under the command of Barbarossa Hayreddin Pasha, the younger brother of Oruç Reis, who was the Kapudan Pasha of the Ottoman Fleet during the reign of Suleiman the Magnificent. However, it wasn't until the final Ottoman reconquest of Tunis from Spain in 1574 under Kapudan Pasha Uluç Ali Reis that the Turks permanently acquired the former Hafsid Tunisia, retaining it until the French occupation of Tunisia in 1881.