First Battle of Gaza
The First Battle of Gaza was fought on 26 March 1917 during the first attempt by the Egyptian Expeditionary Force, which was a British Empire military formation, formed on 10 March 1916 under the command of General Archibald Murray from the Mediterranean Expeditionary Force and the Force in Egypt, at the beginning of the Sinai and Palestine Campaign of the First World War. Fighting took place in and around the town of Gaza on the Mediterranean coast when infantry and mounted infantry from the Desert Column, a component of the Eastern Force, attacked the town. Late in the afternoon, on the verge of capturing Gaza, the Desert Column was withdrawn due to concerns about the approaching darkness and large Ottoman reinforcements. This British defeat was followed a few weeks later by the even more emphatic defeat of the Eastern Force at the Second Battle of Gaza in April 1917.
In August 1916, the EEF victory at Romani ended the possibility of land-based attacks on the Suez Canal, first threatened in February 1915 by the Ottoman Raid on the Suez Canal. In December 1916, the newly created Desert Column's victory at the Battle of Magdhaba secured the Mediterranean port of El Arish and the supply route, water pipeline and railway stretching eastwards across the Sinai Peninsula. In January 1917, the victory of the Desert Column at the Battle of Rafa completed the capture of the Sinai Peninsula and brought the EEF within striking distance of Gaza.
Two months later, in March 1917, Gaza was attacked by Eastern Force infantry from the 52nd Division reinforced by an infantry brigade. This attack was protected from the threat of Ottoman reinforcements by the Anzac Mounted Division and a screen from the Imperial Mounted Division. The infantry attack from the south and southeast on the Ottoman garrison in and around Gaza was strongly resisted. While the Imperial Mounted Division continued to hold off threatening Ottoman reinforcements, the Anzac Mounted Division attacked Gaza from the north. They succeeded in entering the town from the north, while a joint infantry and mounted infantry attack on Ali Muntar captured the position. However, the lateness of the hour, the determination of the Ottoman defenders, and the threat from the large Ottoman reinforcements approaching from the north and north east resulted in the decision by the Eastern Force to retreat. It has been suggested that this move snatched defeat from the jaws of victory.
Background
As the Allied operations in the Middle East were secondary to the Western Front campaign, reinforcements requested by General Sir Archibald Murray, commander of the Egyptian Expeditionary Force, were denied. Further, on 11 January 1917, the War Cabinet informed Murray that large scale operations in Palestine were to be deferred until September, and he was informed by Field Marshal William Robertson, the Chief of the Imperial General Staff, that he should be ready to send possibly two infantry divisions to France. One week later, Murray received a request for the first infantry division and dispatched the 42nd Division. He was assured that none of his mounted units would be transferred from the EEF, and was told "that there was no intention of curtailing such activities as he considered justified by his resources." Murray repeated his estimate that five infantry divisions, in addition to the mounted units, were needed for offensive operations.After 26 February 1917, when an Anglo-French Congress at Calais decided on a spring offensive, Murray received strong encouragement. The decision by the Supreme War Council was given increased impetus for "Allied activity" on 8 March when the Russian Revolution began. By 11 March Baghdad in Mesopotamia had been occupied by British Empire forces, and an offensive in Macedonia had been launched. In April the Battle of Arras was launched by the British, and the French launched the Nivelle offensive. Britain's three major war objectives now were to maintain maritime supremacy in the Mediterranean Sea, while preserving the balance of power in Europe and the security of Egypt, India, and the Persian Gulf. The latter could be secured by an advance into Palestine and the capture of Jerusalem. A further advance would ultimately cut off the Ottoman forces in Mesopotamia from those on the Arabian Peninsula and secure the region.
By 5 February the water pipeline from the Egyptian Sweet Water Canal, which carried water from the Nile, had reached El Arish, while the railway line was being laid well to the east of that place. The creation of this infrastructure enabled a strong defensive position and a forward base to be established at El Arish. There were now two possible directions for an advance towards Jerusalem by Eastern Force to take: through Rafa on the coast, or inland through Hafir El Auja, on the Ottoman railway. Lieutenant General Charles Macpherson Dobell, commanding Eastern Force, thought that an advance along the coast could force the Ottoman Army to withdraw their inland forces, as they became outflanked and subject to attack by the EEF from the rear. He proposed keeping two divisions at El Arish, moving his headquarters there, while his mounted division would advance to reoccupy Rafa.
With the 11 January War Cabinet decision reversed by the 26 February Congress, the EEF was now required to capture the stronghold of Gaza as a first step towards the capture of Jerusalem. The town was one of the most ancient cities in the world, being one of five cities of the Palestine Alliance, which had been fought over many times during its 4,000-year history. By 1917 Gaza had an important depot for cereals with a German steam mill. In the area barley, wheat, olives, vineyards, orange groves, and wood for fuel were grown, as well as the grazing of many goats. Barley was exported to England for brewing into beer. Maize, millet, beans, and watermelon were cultivated in most of the surrounding localities, and harvested in early autumn.
Mounted units reorganised
A pause in the EEF's advance was necessary to enable the lines of communication to be lengthened and strengthened. While this work was being carried out, the mounted brigades were reorganised into two mounted divisions. This was prompted by the arrival of the 6th Mounted Brigade and 22nd Mounted Brigade from the Salonika campaign. Instead of grouping the two new mounted brigades with the 5th Mounted Brigade to form a new Imperial Mounted Division, the 3rd Light Horse Brigade was transferred from the Anzac Mounted Division to the new division, and replaced by the 22nd Mounted Brigade. The Imperial Mounted Division, established 12 February 1917 at Ferry Post on the Suez Canal under the command of Major General Henry West Hodgson, was established with the 3rd Light Horse Brigade and 4th Light Horse Brigade along with the 5th and 6th Mounted Brigades. Within Dobell's Eastern Force, General Philip Chetwode commanded the Desert Column, which included the Anzac Mounted Division, the partly formed Imperial Mounted Division, and the 53rd Division of infantry. After the 42nd Division left for the Western Front, Dobell's Eastern Force consisted of four infantry divisions; the 52nd Division, the 53rd Division, the 54th Division and the 74th Division, which had recently been formed by converting yeomanry regiments into infantry battalions.EEF raid on Khan Yunis
Dobell thought the victory at Rafa should be quickly exploited by attacking Gaza; "an early surprise attack was essential ... otherwise it was widely believed the enemy would withdraw without a fight." He ordered Rafa to be occupied by mounted troops while two infantry divisions of Eastern Force remained at El Arish to defend his headquarters.On 23 February, the Anzac Mounted Division and the 53rd Division, commanded by Major General S.F. Mott, were camped on the beach at Sheikh Zowaiid. Here they were joined by the 22nd Mounted Brigade, replacing the 5th Mounted Brigade which returned to El Burj. That day, the New Zealand Mounted Rifles and the 2nd Light Horse Brigades commanded by Edward Chaytor made a reconnaissance in force to Khan Yunis past Rafa. Khan Yunis was held in strength, and the Chaytor's Column withdrew after "a brush" with the defenders. The town was found to be part of a line of strong posts held by the Ottoman Army protecting southern Palestine. Known as the Hans Yonus–El Hafir line, these posts consisted of well-dug trenches. They were located at Shellal, which was a particularly strongly fortified position, at Weli Sheikh Nuran, at Beersheba, and at Khan Yunis.
As a consequence of the reconnaissance to Khan Yunis, and the growing strength of EEF units in the area, the Ottoman Army garrisons realised the line was nevertheless too weak to be successfully defended. In February, Enver Pasha, Friedrich Freiherr Kress von Kressenstein, and Cemal Pasha withdrew from the line, retiring northwards. Here they established much more formidable defences in front of Gaza, to stop any Allied advance up the coast. This withdrawal was completed by mid–March when the Ottoman Fourth Army was in position. Their new defensive line stretched north and north east, from Gaza on the north side of the Wadi Ghuzzee to Tel esh Sheria, where the Palestine railway crossed the Wadi esh Sheria.
On 28 February, Chetwode's Desert Column occupied Khan Yunis unopposed and the headquarters of the Column was established at Sheikh Zowaiid, while Eastern Force headquarters remained at El Arish. The ancient town of Khan Yunis on the main road to Gaza was said to be the birthplace of Delilah. With bazaars, narrow streets and a castle, it was one of several villages in this fertile area of southern Palestine, north of Rafa and the Egyptian–Ottoman frontier. Here was found the largest and deepest well in the area, and after engineers had installed a pumping machine, it gave an unlimited supply of water for both men and horses. The village quickly became an important forward site for supply depots and bivouacs. Around Khan Yunis gardens, orange orchards, fig plantations and grazing were carried on by the local population, while in the Rafa and Sheikh Zowaiid areas barley and wheat were grown.