عروج بربروس
Eventually, Ottoman Turks managed to successfully reconquer the city from Spanish occupation in the 16th century, using the city primarily as a fortified port.In 1520, Hayreddin Barbarossa captured the town and annexed the Algerian Pashalic. His elder brother Oruç Reis built a fort over the town. Under Turkish occupation, the city's importance as a port and fort led to it being inhabited by Moslems of many nationalities, some engaging in privateering and piracy on the Mediterranean.