Al-Aqsa Mosque (Arabic: المسجد الاقصى Al-Masjid al-Aqsa, IPA: [ʔælˈmæsdʒɪd ælˈʔɑqsˤɑ] ( listen), “the Farthest Mosque", Hebrew: מסגד אל-אקצא Misgad al-Aktsa), also known as Al-Aqsa and Bayt al-Muqaddas, is the third holiest site in Islam and is located in the Old City of Jerusalem. Whilst the entire site on which the silver-domed mosque sits, along with the Dome of the Rock, seventeen gates, and four minarets, was itself historically known as the Al-Aqsa Mosque, today a narrower definition prevails,[note 1] and the wider compound is usually referred to as al-Haram ash-Sharif ("the Noble Sanctuary"),[3] or the Temple Mount, the holiest site in Judaism. Muslims believe that Muhammad was transported from the Sacred Mosque in Mecca to al-Aqsa during the Night Journey. Islamic tradition holds that Muhammad led prayers towards this site until the seventeenth month after the emigration, when God directed him to turn towards the Kaaba.
The mosque was originally a small prayer house built by the Rashidun caliph Umar, but was rebuilt and expanded by the Umayyad caliph Abd al-Malik and finished by his son al-Walid in 705 CE. The mosque was completely destroyed by an earthquake in 746 and rebuilt by the Abbasid caliph al-Mansur in 754. His successor al-Mahdi rebuilt it again in 780. Another earthquake destroyed most of al-Aqsa in 1033, but two years later the Fatimid caliph Ali az-Zahir built another mosque which has stood to the present day.
During the periodic renovations undertaken, the various ruling dynasties of the Islamic Caliphate constructed additions to the mosque and its precincts, such as its dome, facade, its minbar, minarets and the interior structure. When the Crusaders captured Jerusalem in 1099, they used the mosque as a palace and the Dome of the Rock as a church, but its function as a mosque was restored after its recapture by Saladin in 1187. More renovations, repairs and additions were undertaken in the later centuries by the Ayyubids, Mamluks, Ottomans, the Supreme Muslim Council, and Jordan. Today, the Old City is under Israeli control, but the mosque remains under the administration of the Jordanian/Palestinian-led Islamic Waqf.