Hintata
They also passed in al-Andalus, where they are expressly mentioned participating in some campaigns, like the Siege of Santarém in 1184, conducted with troops brought from the Maghreb by the caliph Abu Ya'qub, who ended with his defeat and his death in front of Santarem.A grandson of the hintati sheikh Abu Hafs Umar, called Ibn al Shahid, supported from the Maghreb the Almohad caliph al-'Adil, insurgent in Murcia in 1224, until he occupied Marrakesh, where he was murdered in 1227.The south of the Maghreb fell to Muhammad al-Mu'tamid who settled in Marrakesh, supported and advised by this sheikh of the Hintata, 'Amir, who in 1360 received the visit, in the "Hintata mountain", of the vizier and writer Ibn al-Khatib, who gave a complimentary description of him and his people, "supporters of the da'wa [Almohad], close friends of the Marinid dynasty".[2][6] Later, in return for their participation in the dynastic intrigues of Marinids, Sheikh 'Amir was officially recognized as "governor of the whole of the Maghreb beyond Umm Rabbi'a" by the powerful vizier al-Yabani, a title he held until 1362.They were under the direction of the Awlad Yunus branch which, along with other local dynasties, "ruled in the mountains to the account of the Sultan while waiting to make themselves independent ".