Jews were barred from returning to the Western Wall or the Temple Mount until Israel captured East Jerusalem during the 1967 Six-Day War. Previous to this, under Jordanian control, no Jews were allowed access to the site. Since then, Israel has allowed control of the Temple Mount to remain with the Islamic Jerusalem Islamic Waqf in order to preserve the sanctity of the Al-Aqsa Mosque. Under the stipulations of this agreement, there is to be freedom of access and religion, however all religious prayer except Muslim is banned.