The New Zealand government authorised the formation of the NZEF for service in the war in support of Great Britain, with Godley, having relinquished his position as commandant of the New Zealand Military Forces to Major General
Alfred William Robin, as its commander. Godley would retain command of the NZEF for the duration of the war, making regular reports to
James Allen, the New Zealand Minister of Defence. By October 1914, the NZEF consisted of 8,500 men and, along with Godley, just promoted to substantive major general, embarked from Wellington for Europe. The NZEF was intended for service on the
Western Front but was diverted to Egypt while in transit, following the entry of Turkey into the war. With his appointment as corps commander, he also effectively took over responsibility for the administration of the AIF. The same month it was decided to evacuate the Allied forces from Gallipoli. Although much of the detailed planning for the evacuation was left to his chief of staff, Brigadier General
Brudenell White, Godley closely inspected the plans before giving his approval. The evacuation was successfully carried out on the nights of 19 and 20 December, with Godley departing on the first night. Following the withdrawal, he was made Knight Commander of the
Order of the Bath for his services at Gallipoli, on the recommendation of General
Sir Charles Monro, who had replaced Hamilton as Commander-in-Chief of the Mediterranean Expeditionary Force.
Reforming in Egypt The NZEF and the AIF had returned to Egypt following their withdrawal from Gallipoli. The number of reinforcements from both New Zealand and Australia were more than enough to bring the existing ANZAC divisions back up to strength, and in January 1916 Godley proposed forming new divisions from the surplus reinforcements. These were the
New Zealand Division and the Australian
4th and
5th Divisions. The new formations, together with the existing divisions, formed the
I ANZAC Corps (the renamed Australian and New Zealand Army Corps) and
II ANZAC Corps. Godley was named as commander of I ANZAC Corps which included the original AIF divisions, the
1st and
2nd Divisions, and the newly formed New Zealand Division. These divisions were engaged in defensive duties along the Suez Canal. However, following the German attack at Verdun in February, it was decided that the planned move of I ANZAC Corps to the Western Front be expedited. Birdwood was to take the corps to France, and on 28 March 1916, he exchanged commands with Godley, who took over II ANZAC Corps.
Western Front Godley's II ANZAC Corps consisted of the Australian 4th and 5th Divisions along with the ANZAC Mounted Division, and it took over the defensive duties of the I ANZAC Corps. The two Australian divisions were still relatively raw and Godley oversaw the intensive training of both formations. By the end of May 1916, he considered the divisions to be the equal of the 1st and 2nd Australian divisions, which were by that time on the Western Front. The following month, the divisions of II ANZAC Corps began departing for France. Godley went on leave for a short time during this period of transition for his corps. In July, he returned to duty and II ANZAC Corps took over the section of the front line previously occupied by the I ANZAC Corps, near Armentieres. Later that same month, the 5th Division participated in the
Battle of Fromelles in support of the neighbouring
British XI Corps. It, together with the 4th Australian Division, would later be transferred to the Somme. Godley continued to lead II ANZAC Corps while the I ANZAC Corps was engaged in the
Battle of the Somme. In October, the New Zealand Division, blooded on the Somme, joined II ANZAC Corps along with the
3rd Australian Division, previously based in England. The corps, attached to the
Second Army, performed well in its first major engagement, the
Battle of Messines. Writing to Allen after the battle, Godley regarded the capture of Messines as "... the greatest success of the war so far, all of it achieved with much lighter casualties than those incurred on the Somme." Despite this success, in August, Godley's poor standing among the NZEF was publicly raised by a member of the New Zealand Parliament who had visited the front earlier in the year. While serving on the Western Front, Godley continued to fulfil his role as the commander of the NZEF along with his corps command. By September 1917, as reinforcements from New Zealand continued to arrive on the Western Front to replace the casualties lost in the major battles of the previous two years, Allen, still the Minister of Defence, was concerned by the drain on New Zealand's manpower. Allen considered that Australia and Canada were not making their proper contributions to the war effort. Godley pointed out that the Australian divisions had seen more action than the New Zealanders. The II ANZAC Corps played an important role in the
Third Battle of Ypres in October 1917. Following the success of his corps at the
Battle of Broodseinde on 4 October 1917, Godley believed the morale of the Germans was low and pushed for further attacks to secure the Passchendaele Ridge. This was in concert with the preference of
Field Marshal Douglas Haig, the commander of the
British Expeditionary Force. Godley's commander, General Herbert Plumer, preferred to halt the offensive as the weather had deteriorated immediately after the battle. In the
Battle of Poelcapelle on 9 October by the 49th and 66th Divisions, both British formations attached to II ANZAC Corps, were hampered by the poor weather which showed no signs of abating and achieved very limited gains. Despite this and at Godley's urging, a further attack was planned for 12 October, this time using the New Zealand Division and the 3rd Australian Division. By now the ground was a sea of mud and a lack of preparation on the part of Godley's corps headquarters hampered the preliminary movements of the attacking divisions and supporting artillery. Godley's plans for the attack were overly ambitious and beyond the scale of previous operations that had been mounted earlier in the month in better weather and ground conditions and with more time to prepare. The
First Battle of Passchendaele on 12 October proved to be a failure with limited gains and heavy losses in the attacking divisions. Russell, commander of the New Zealand Division, considered the planning and preparation by Godley and his staff at II ANZAC Corps for the battle to be inadequate. After the battle, Godley downplayed the losses in the New Zealand Division (which amounted to around 2,900 casualties) and overstated the gains made in official correspondence to Allen and a friend,
Clive Wigram, who was the assistant private secretary to
King George V. Notwithstanding Godley's efforts to placate him, Allen again raised his concerns over the extent of New Zealand's contributions to the war relative to Australia's and sought further explanation for the New Zealand losses of 12 October. Allen was also beginning to query the quality of British generalship. Godley raised the prospect of being replaced as commander of the NZEF and proposed Major General
Andrew Russell, the commander of the New Zealand Division, as his successor. Godley remained the commander of the NZEF until its disbandment in late 1919. In January 1918, II ANZAC Corps had its Australian contingent transferred and it was renamed
XXII Corps. Two months later, the New Zealand Division was transferred to
VII Corps. Godley's corps was now composed largely of British divisions with a small contingent of New Zealand corps units. After being involved in the defence of the Allied positions during the
German spring offensive of late March, it then participated, under French command, in the
Second Battle of the Marne in July. Godley was temporary commander of
III Corps in the
Battle of Mont Saint-Quentin during the early phase of the
Hundred Days Offensive in August 1918 before returning to command of XXII Corps. had been
mentioned in dispatches ten times. he was appointed in 1918 to the French
Legion of Honour as a
Grand Officier, having previously been made a
Croix de Commandeur in 1917. He was also awarded the
Serbian Great Officer Cross of the Order of the White Eagle (with Swords) in October 1916, the Belgian
Order of the Crown in 1917 and the Belgian
Croix de guerre in 1918. ==Postwar career==