Due to Israeli Jews being unable to reach holy sites in Jerusalem's Old City during the Jordanian annexation of the West Bank (1948-1967), the Tomb of David was promoted as a place of worship, and the roof of the building, above the Cenacle, was sought for its views of the Temple Mount, and thus became a symbol of prayer and yearning. The building, built as a church, then transformed into a mosque, was split in two and the ground floor with the Tomb was converted into a synagogue immediately following the end of the 1947-1949 Palestine war; the Muslim cover on the tomb was replaced with an Israeli flag and then a parochet. From then onwards, the Israeli Ministry of Religious Affairs began the process of turning the site into Israel's primary religious site. Jewish prayer was established at the site, and Jewish religious symbols were added. From 1948 until the Six-Day War in 1967, it was considered the holiest Jewish site in Israel.