<human>:  What was the outcome of the Arab–Israeli War of 1948?
<bot>: The war ended with a ceasefire on 24 October 1948. It was a very short war, lasting only 5 days. The war ended in a victory for Israel, who gained control of the territory that had been occupied by the British since 1917.