In addition to rearguards left by the Ottoman Seventh Army's XX Corps as it retired into the hills, the Seventh Army had managed to establish a line of mainly single trenches running south and south-west on a series of heights up to 4 miles from Jerusalem, supported by well-sited redoubts.