The Berber chief, Zawi ibn Ziri, makes Granada his capital. The Slav Mujahid, al-Amiri, rules in Almería, a key southern port city. The North African Shi’i Berbers, the Ibn Hammud brothers, attempt to wrest the caliphate in Córdoba from Umayyad princes. The qadi (chief judge) of Seville, Muhammad ibn Abbad, declares independence from Córdoba.