The terraced gardens of Madinat al-Zahra in al-Andalus, built in the 10th century under Abd ar-Rahman III, are the earliest well-documented examples of a symmetrically-divided enclosed garden in the western Islamic world and among the earliest examples in the Islamic world more generally.[27][28] They are also the earliest example in the region to combine this with a system of terraces.[28] This type of Andalusi garden probably drew its origins from the Persian chahar bagh garden in the east and was imported to the west by Umayyad patrons.[27][28]: 69–70 An older country estate known as al-Qasr ar-Rusafa, built by Abd ar-Rahman I near Cordoba in 777, has not been fully studied but probably also featured gardens and pavilions with elevated views, which suggests that this garden tradition was adopted very early by the Umayyad emirs of Al-Andalus.[28]