During the three weeks between the first two battles for Gaza, the town was quickly developed into the strongest point in a series of strongly entrenched positions extending to Hareira 12 miles east of Gaza, and southeast towards Beersheba.