After the Muslim conquest of Jerusalem in the 7th century, Umayyad Caliph Abd al-Malik ibn Marwan ordered the construction of an Islamic shrine, the Dome of the Rock, on the Temple Mount. The shrine has stood on the mount since 691 CE; the al-Aqsa Mosque, from roughly the same period, also stands in what used to be the Temple courtyard.