prayer hall and sometimes larger. Notable examples of Marinid mosque architecture are the Grand Mosque of Fes el-Jdid (founded in 1276, one of the earliest Marinid mosques), the expansion of the Great Mosque of Taza in 1294, the Mosque of al-Mansourah near Tlemcen (1303), and the Mosque of Sidi Abu Madyan (1338–39). The Ben Salah Mosque in Marrakesh also dates from the Marinid period, one of the few monuments from this period in the city. Of the Marinid royal palaces in Fes el-Jdid little has survived, with the current Royal Palace of Fes dating mainly from the later Alaouite period. Likewise, the former Marinid Royal Gardens to the north have disappeared and the complex around the Marinid Tombs on the hills overlooking Fes el-Bali are largely ruined. Excavations in Aghmat, in southern Morocco, have uncovered the remains of a smaller Marinid palace or mansion which has profound resemblances, in terms of its layout, to surviving Nasrid-era palaces in Granada and al-Andalus, demonstrating yet again the shared architectural traditions between the two kingdoms. Further clues about domestic architecture of the period are provided by a few Marinid-era private houses that have been preserved in Fes. They are centered around inner courtyards surrounded by two-story galleries and feature architectural forms and decoration that are highly reminiscent of those found in Marinid madrasas, showing a certain consistency in the decorative techniques across building types. Some Marinid monumental gates, such as the gate of the Chellah necropolis near Rabat and the Bab el-Mrissa in Salé, are still standing today and demonstrate resemblances with earlier Almohad models. According to the Rawd al-Qirtas, the founder of the Marinid dynasty, Abu Muhammad Abd al-Haqq I (d. 1217), was buried at a site called Tāfirtāst or Tāfarṭast, a site near Meknes (close to where he fell in battle). Starting with Abu Yusuf Ya'qub (d. 1286), the Marinid sultans began to be buried at a new necropolis in Chellah (the site of the former Roman city called Sala Colonia). Abu Yusuf Ya'qub built a mosque alongside his tomb and that of his wife. Both were qubbas: small square chambers covered by either a dome or a pyramidal roof. They stood in a small garden enclosure or rawda () at the back of the mosque. The necropolis was surrounded by a set of walls and an ornate monumental gate completed by Abu al-Hasan in 1339. Abu al-Hasan himself was then