It took part in the invasion of Palestine in 1917 and 1918, including the Second (17–19 April 1917) and Third Battles of Gaza (27 October–7 November)including the capture of Beersheba on 31 October and the Sheria Position on 6 November. At the end of 1917, it took part in the capture and defence of Jerusalem and in March 1918 in the Battle of Tell 'Asur. On 3 April 1918, the division was warned that it would move to France and by 30 April 1918 had completed embarkation at Alexandria.