The Ottoman Empire accepted many corsairs as their agents, who made Algiers their base, including Khair al-Din [Arabic name] and his brother Aruj (both known for red beards and called Barbarossa), and Uluj Ali. In 1551 the corsair Dragut was installed in Tripoli; he entered Kairouan in 1558. Then in 1569 Uluj Ali, advancing from Algiers, seized Tunis. After the Christian naval victory at Lepanto in 1571, Don Juan of Austria retook Tunis for Spain in 1573. Uluj Ali returned in 1574 with a large fleet and army to capture Tunis with finality, and then sent the last Hafsid to Constantinople.