The fighting ended with signing of the several Armistice Agreements in 1949 between Israel and its warring neighbors (Egypt, Lebanon, Jordan, and Syria), which formalized Israeli control of the area allotted to the Jewish state plus just over half of the area allotted to the Arab state. The Gaza Strip was occupied by Egypt and the West Bank by Jordan until June 1967 when they were occupied by Israel during the Six-Day War.