Baba Ali
Algiers was annexed by the Ottoman Empire in 1529 after the capture of Algiers in 1529 and had been under direct rule until 1710, when Baba Ali Chaouch achieved de facto independence from the Ottomans, though the Regency was still nominally a part of the Ottoman Empire.