following a reorganisation of the 2nd Division, he assumed command of the 17th Infantry Battalion. He took charge of the 17th Battalion on 12 May as it boarded the troop ship , destined for Egypt. Gallipoli The 17th Battalion arrived in Egypt on 12 June 1915, remaining there until mid-August, when it moved to Anzac Cove at Gallipoli. However, Goddard remained in Egypt as he had been hospitalised with stomach trouble. On gaining medical clearance, he left for Gallipoli on the Southland; the ship was torpedoed en route on 2 September. Rescued by a ship of the Royal Navy, Goddard eventually arrived at Gallipoli four days later. At the time, the 17th Battalion was responsible for Quinn's Post, which was an exposed and dangerous position on the Allied line. He remained in command of Quinn's Post until the Anzac position at Gallipoli was evacuated. Suffering from dysentery, he was one of the last to leave Quinn's Post when it was abandoned on 20 December 1915. When the 17th Battalion arrived at Alexandria on 4 January 1916 after a short period at Lemnos, it proceeded to Tell El Kebir, a training centre for the AIF, four days later. Goddard's health, seriously impacted by the dysentery he had contracted at Gallipoli, was in decline and he was admitted to hospital shortly afterwards. In April, he was repatriated to Australia, arriving there on 18 May. Western Front By July, Goddard had recovered and returned to service with the AIF. He left for the United Kingdom on 1 August, sailing from Melbourne on board HMAT Miltiades, a troop transport. Reporting to AIF Headquarters in London in late September, he was shortly appointed commander of the 35th Infantry Battalion. His new unit was part of the 9th Infantry Brigade, 3rd Division, which at the time was in training on the Salisbury Plain in England. The 35th Battalion began its service on the Western Front in France in late November, being based in the area around Armentières. In June the following year Goddard led it during the Battle of Messines. It later fought in the Battles of Broodseinde and Passchendaele. On occasions during the second half of 1917 he led the 9th Brigade on an acting basis while its regular commander, Brigadier General Charles Rosenthal, was absent. For his leadership at Messines, Goddard was mentioned in despatches and awarded the Distinguished Service Order (DSO) in the