The taifa rulers, Ibn Buluggin of Granada and Al-Mu’tamid of Seville, invite the Almoravid leader, Yusuf ibn Tashufin, to Al-Andalus to prevent further losses to the Christians. The Almoravids defeat Alfonso VI’s forces at the Battle of Zallaqa. Several years later, ibn Tashufin returns to take control of numerous taifa states and exiles their rulers. Al-Andalus is incorporated into the large Berber Empire, based in North Africa.