Much later, it became an important base for the Barbary corsairs. Following the conquest of Tunisia by CharlesV in 1534 and 1535, Spaniards tried to remove the pirates unsuccessfully. John of Austria also visited the bay during his reconquest of Tunis in October of 1573, following his victory at Lepanto.