Ibn al-Khatib
Ibn al-Khatib's future turned bleak when a Granada-supported coup removed Ibn Ghazi from office and brought a new sultan to power, Abu'l-Abbas Ahmad al-Mustansir. Indebted to Granada, the new sultan ordered Ibn al-Khatib arrested and a trial be held in the Moroccan capital city of Fes, in which a Granadan group of emissaries, including his former student Ibn Zamrak, was actively involved. Despite intimidation and torture, Ibn al-Khatib kept protesting his innocence throughout the trial and denied the accusations of heresy. The final vote was far from unanimous and a council of Islamic scholars were unable to reach a conclusive decision. He was sent back to his prison cell and strangled later that night. On the next morning his body was buried near Fes' Bab al-Mahruq city gate. Unsatisfied, his enemies ordered his body dug up and thrown in a bonfire.