Abu Muhammad Mazdali ibn Tilankan (Arabic: أبو محمد مزدلي بن تيلانكان) (d. March 1115) was a Berber military commander and diplomat for the Almoravid empire.
Once Yusuf ibn Tashfin decided to become independent, he chose Mazdali, his second cousin and made him one of his most effective collaborators, to subdue and pacify the Maghrib and al-Andalus.
[1] After the foundation of Marrakesh, ibn Tashfin sent Mazdali in 1073, at the head of an army, to the region of Salé, whose tribes he submitted, without struggle or siege.
Satisfied with this result, Yusuf put him, two years later, in 1075, at the head of another army which also subjected Tlemcen without resistance and deposed its ruler, the emir al-'Abbas ibn Yahya al-Zanati.
Ibrahim, son of Abu Bakr ibn Umar and governor of Sijilmasa, came to Aghmat to claim the power from which his father had been dispossessed.
Mazdali managed to reconcile the Emir of Bougie, Al Mansur with the power of Almoravids and remained in the governorate of Tlemcen, until the death of Yusuf ibn Tashfin in 1106.
He crosses the Straits, goes to Seville and with the assistance of Syr ibn Abi Bakr and the armies of Granada and Cordoba, he began a retaliatory raid on Toledo.
[4] In July 1114, Mazdali attacks La Sagra, ransacking Peginas, Cabanas and Magan; he routed the following month Rodrigue Aznar at Polgar.