This chronology (i.e. construction in 1318-1321) is the most plausible and would mean that the mosque was built under the reign of Marinid Sultan Abu Sa'id Uthman (ruled 1310-1331), who also built some of the madrassas in Fez (e.g. the Madrassa al-'Attarin).[1]