The conflict ensued as neighbouring Arab states, including Egypt, Jordan, Syria, Iraq, and Lebanon, opposed the establishment of Israel and intervened militarily. The war lasted until March 1949 when armistice agreements were signed between Israel and its neighbouring countries.