The region was somewhat unified as an independent political entity during the rule of the Berber kingdom of Numidia, which was followed by Roman Empire's rule or influence. That was followed by the brief invasion of the Germanic Vandals, the equally brief re-establishment of a weak Byzantine rule by the Byzantine Empire, the rule of the Islamic Caliphates under the Umayyads, the Abbasids, and the Fatimids. The most enduring rule was that of the local Berber Muslim empires of Almoravids, Almohads, Hammadids, Zirids, Marinids, Wattasids (to name some of those among the most prominent) during the 8th to 13th centuries.