Saadi dynasty
He was initiated into the Shadhili Tariqa, a Sufi order, by a descendant of Abu Abdallah Mohammed Amghar, the sheikh of the Banu Amghar. He spent fourteen years in Khalwa (seclusion) and then went to Safi where he gathered around him many followers. The governor of Safi felt obliged to expel him and later poisoned him which led to his death in 1465. He is said to have died during prayer. His tomb in Afoughal became the center of the Saadi dynasty Saadian resistance against the Portuguese. His deep respect for al-Jazuli was the reason that Abu Abdallah al-Qaim chose Afoughal as his residence.