The Al-Aqsa Mosque was constructed by the Umayyad Caliph Abd al-Malik ibn Marwan (or completed under his son al-Walid I) between 691–692 CE (some sources say 705–715 CE). Abd al-Malik is also credited with building the iconic Dome of the Rock on the same Haram al-Sharif compound. The mosque has undergone multiple reconstructions due to earthquakes and renovations over the centuries.