Both of the Hammadid and Zirid empires as well as the Fatimids established their rule in all of the Maghreb countries.
bˈoʊθ ʌvðə hˈæmɐdˌɪd ænd zˈɪɹɪd ˈɛmpaɪɚz æz wˈɛl æz ðə fˈæɾɪmˌɪdz ɪstˈæblɪʃt ðɛɹ ɹˈuːl ɪn ˈɔːl ʌvðə mˈæɡɹɛb kˈʌntɹiz.