Caliphate of Córdoba
The Zirids were also the ruling dynasty of the Taifa of Granada, a Berber kingdom in Al-Andalus. The founder was the brother of Buluggin, Zawi ben Ziri, a general of the Caliphate of Córdoba under Caliph Hisham II.