Although Algiers remained nominally part of the Ottoman Empire, in reality they acted independently from the rest of the Empire, and often had wars with other Ottoman subjects and territories such as the Beylik of Tunis.
ɔːlðˈoʊ ældʒˈɪɹz ɹᵻmˈeɪnd nˈɑːmɪnəli pˈɑːɹt ʌvðɪ ˈɑːɾəmən ˈɛmpaɪɚ, ɪn ɹɪˈælᵻɾi ðeɪ ˈæktᵻd ˌɪndᵻpˈɛndəntli fɹʌmðə ɹˈɛst ʌvðɪ ˈɛmpaɪɚ, ænd ˈɔfən hæd wˈɔːɹz wɪð ˈʌðɚɹ ˈɑːɾəmən sˈʌbdʒɛkts ænd tˈɛɹɪtˌoːɹiz sˈʌtʃ ɐz ðə bˈeɪlɪk ʌv tˈuːniz.