Dar al-Makhzen is the royal palace of the King of Morocco in the city of Fez. Its original foundation dates back to the foundation of Fes el-Jdid, the royal citadel of the Marinid dynasty, in 1276 CE. The grounds house multiple private structures, patios, and gardens, but historically also include administrative offices and government tribunals.