Zawiya Dila'iya
[2] The first zawiya was founded by Abu Bakr ibn Muhammad al-Majjati al-Sanhaji (1537–1612),[3][2] a Sanhaja Berber of the Mjjat tribe,[4] a branch of the Ait Idrassen confederation.[2] As the Saadi State in Morocco declined and descended into disorder, the Dila'iyya Zawiya grew in both wealth and political prominence, providing refuge to students leaving the traditional urban centres and accumulating its own rich library.[13] The Zawiya of Dila reached its peak in the middle of the 17th century, after having ordered the assassination of al-Ayashi in 1641,[14] expanding its influence on the cities of Fez, Tétouan and Ksar el-Kebir and on the Republic of Salé, as well as on the plains of the north-west and the corridor of Taza to the Moulouya.[5]: 20 In 1677, Ahmad ibn Abdullah, a grandson of Mohammed al-Hajj, returned with the support of the Turkish regime in Algeria and rallied the Idrassen and the other Sanhaja against the tribes of the Tadla which were in alliance with the Sultan.Three successive government expeditions were defeated by the reconstituted Dila coalition, until Ismail ibn Sherif himself, occupied at the time with revolts in Marrakesh and the Tafilalt, led his troops and overcame the highland forces.