In 1320 Sultan Abu Sa'id built a madrasa in Fes el-Jdid just south of the Grand Mosque which became known as the Madrasa Fes Jdid or Madrasa Dar al-Makhzen.[1]:69 This was only the second madrasa built by the Marinids in Fes, the first one having been the Seffarine Madrasa founded in 1271 near the Qarawiyyin Mosque. Shortly after, in 1321, also under Abu Sa'id's reign, the Sahrij Madrasa was built near the al-Andalus Mosque.