[2] Soon after his entrance in Tunis, however, he was forced to pay a large indemnity to the Algerian troops camped under the city's walls, amounting to the load of 35 mules in silver, and to promise a yearly tribute of 50,000 rials to the dey.
Husayn was captured and executed in 1740, but the latter's sons, Muhammad and Ali, fled and continued the civil war, one from Constantine and the other from Algiers.
In 1741 Ali conquered the island of Tabarka from the Republic of Genoa, deporting 1,500 Christians to Tunis.
The army reached Tunis, whose walls Ali had restored and strengthened with a ditch in the meantime.
Ali was deposed on 2 September and brought in chains to Algiers, where he was stripped naked and strangled twenty days later by partisans of his successor Muhammad I ar-Rashid.