 The gardens were established in the 12th century by Abd al-Mu'min of the Almohad Caliphate.They served as an orchard.They were renovated by the Saadi dynasty and then enlarged during the reign of Moulay Abderrahmane in the 19th century, when they were enclosed with pisé walls.