From 1949 until 1967, West Jerusalem served as Israel's capital, but was not recognized as such internationally because UN General Assembly Resolution 194 envisaged Jerusalem as an international city. As a result of the Six-Day War in 1967, the whole of Jerusalem came under Israeli control. On 27 June 1967, the government of Levi Eshkol extended Israeli law and jurisdiction to East Jerusalem, but agreed that administration of the Temple Mount compound would be maintained by the Jordanian waqf, under the Jordanian Ministry of Religious Endowments.