In 1949, the Arab-Israeli war ended with an armistice agreement that divided Palestine into three parts, each under separate political control. Israel encompassed more than 77% of the territory, Jordan was left to rule East Jerusalem and the West Bank, and Egypt took control of Gaza.