Much of the eastern territories of Algeria were under the authority of the Hafsid dynasty, although the Emirate of Bejaia encompassing the Algerian territories of the Hafsids would occasionally be independent from central Tunisian control.
mˈʌtʃ ʌvðɪ ˈiːstɚn tˈɛɹɪtˌoːɹiz ʌv ældʒˈɪɹiə wɜːɹ ˌʌndɚ ðɪ ɐθˈɔːɹɪɾi ʌvðə hˈæfsɪd dˈaɪnɐsti, ɔːlðˈoʊ ðɪ ˈɛmᵻɹˌeɪt ʌv bᵻdʒˈeɪə ɛŋkˈʌmpəsɪŋ ðɪ ældʒˈɪɹiən tˈɛɹɪtˌoːɹiz ʌvðə hˈæfsɪdz wʊd əkˈeɪʒənəli biː ˌɪndᵻpˈɛndənt fɹʌm sˈɛntɹəl tuːnˈiːʒən kəntɹˈoʊl.