This state of affairs changed in 1967 as a result of the Six-Day War. Before the start of the war, Israel sent a message to King Hussein of Jordan saying that Israel would not attack Jerusalem or the West Bank as long as the Jordanian front remained quiet. Urged by Egyptian pressure and based on deceptive intelligence reports, Jordan began shelling civilian locations in Israel[9] to which Israel responded on June 6 by opening the eastern front. The following day, June 7, 1967 (28 Iyar 5727), Israel captured the Old City of Jerusalem.
Later that day, Defense Minister Moshe Dayan declared what is often quoted during Yom Yerushalayim:[10][11]
This morning, the Israel Defense Forces liberated Jerusalem. We have united Jerusalem, the divided capital of Israel. We have returned to the holiest of our holy places, never to part from it again. To our Arab neighbors we extend, also at this hour—and with added emphasis at this hour—our hand in peace. And to our Christian and Muslim fellow citizens, we solemnly promise full religious freedom and rights. We did not come to Jerusalem for the sake of other peoples' holy places, and not to interfere with the adherents of other faiths, but in order to safeguard its entirety, and to live there together with others, in unity.[12]
The war ended with a ceasefire on June 11, 1967.