The 1948 Arab-Israeli War began as the British withdrew from their mandate of Palestine and the United Nations proposed partitioning the land into separate Jewish and Arab states. This was accepted by the Jews but rejected by the surrounding Arab countries. On May 15th, Egypt, Jordan, Syria and Iraq invaded Israel shortly after its declaration of independence on May 14th. After almost a year of fighting, Israel managed to expand its territory beyond the original UN partition plan. Armistice agreements in 1949 established new borders and a ceasefire, though conflicts continued throughout the 1950s as Palestinian fedayeen launched raids into Israel from refugee camps.