He was born around 1310 in
Tlemcen and travelled in his late teens to the orient, where he studied with a group of around 250 scholars for fifteen years. He returned to the
Maghreb as a
faqih, or expert in Islamic law. The
Marinid sultan,
Abu al-Hasan Ali ibn Othman, appointed Ibn Marzuq to the position of preacher at the al-ʿUbbad mosque in his native Tlemcen. Ibn Marzuq subsequently became the sultan's advisor, teacher and secretary and was given an important diplomatic role, negotiating with rulers in
Algeria and
Spain, where he concluded a peace treaty with the
King of Castile,
Alphonse XI. On the death of Abu al-Hasan, he returned to Tlemcen, where he engaged in intrigue against the new Marinid sultan
Abu Inan Faris, before fleeing to
Spain, where he was offered the position of
khatib (sermon-giver) at the great mosque
al-Hamra in Granada. He was recalled to
Fez, where he held a high position until the disastrous failure of a diplomatic mission to Spain led to him being imprisoned for six years. Soon after his release in 1358, he moved to
Tunis, where he was offered a high position by
Abu Salim Ibrahim. He remained there until 1372, when he retired to
Cairo for the last seven years of his life to serve as Grand
Qadi. ==Works==