Muslim dominions in the Iberian Peninsula (modern Portugal and Spain) to the Maghreb (), after being called to the Al-Andalus by the Emir of Seville and, in alliance with Abbad III al-Mu'tamid, defeating Alfonso VI on 23 October 1086 at the battle of Sagrajas. Yusuf bin Tashfin is the founder of the famous Moroccan city Marrakech. He himself chose the place where it was built in 1070 and later made it the capital of his Empire. Until then, the Almoravids had been desert nomads, but the new capital marked their settling into a more urban way of life. Ibn Tumart (), was a Berber religious teacher and leader from the Masmuda tribe who spiritually founded the Almohad dynasty. He is also known as El-Mahdi in reference to his prophesied redeeming. In 1125, he began an open revolt against Almoravid rule. The name comes from the Berber language and means 'son of the earth'. Averroes, a 12th-century philosopher. Abu Ya'qub Yusuf (died on 29 July 1184) was the second Almohad caliph. He reigned from 1163 until 1184 and had the Giralda in Seville built. Abu Yaqub al-Mustansir Yusuf II, Caliph of Maghreb from 1213 until his death, was the son of the previous caliph, Muhammad an-Nasir. Yusuf assumed the throne at the age of only 16, following his father's death. Al-Busiri (1211–1294) was a Sanhaja Berber Sufi poet belonging to the Shadhiliyya order and being a direct disciple of Sheikh Abu al-Abbas al-Mursi. Ibn Battuta (born 1304; year of death uncertain, possibly 1368 or 1377) was a Berber Sunni Islamic scholar and jurisprudent from the Maliki Madhhab (a school of Fiqh, or Islamic law), and at times a qadi, or judge. However, he is best known as a traveler and explorer, whose account documents his travels and excursions over a period of almost thirty years, covering some . These journeys covered almost the entirety of the known Islamic realm, extending from modern West Africa to Pakistan, India, the Maldives, Sri Lanka, South-East Asia, and China, a distance surpassing that of his predecessor and near-contemporary Marco Polo. Muhammad al-Jazuli was from the Jazulah tribe, which was settled in the Sous area of the Maghreb between the Atlantic Ocean and the Atlas Mountains. He is most famous for compiling the Dala'il al-Khayrat, a popular Muslim prayer book. Mohammed Awzal was a religious Berber poet. He is considered the most important author of the