the Australian Territory of New Guinea. In May 1942, the US Navy engaged the Japanese in the Battle of the Coral Sea and halted the attack. The Battle of Midway in June effectively defeated the Japanese navy and the Japanese army launched a land assault on Moresby from the north. Between July and November 1942, Australian forces repulsed Japanese attempts on the city by way of the Kokoda Track, in the highlands of New Guinea. The Battle of Milne Bay in August 1942 was the first Allied defeat of Japanese land forces. Meanwhile, in North Africa, the Axis Powers had driven Allies back into Egypt. A turning point came between July and November 1942, when Australia's 9th Division played a crucial role in some of the heaviest fighting of the First and Second Battle of El Alamein, which turned the North Africa Campaign in favour of the Allies. The Battle of Buna–Gona, between November 1942 and January 1943, set the tone for the bitter final stages of the New Guinea campaign, which persisted into 1945. The offensives in Papua and New Guinea of 1943–44 were the single largest series of connected operations ever mounted by the Australian armed forces. On 14 May 1943, the Australian Hospital Ship Centaur, though clearly marked as a medical vessel, was sunk by Japanese raiders off the Queensland coast, killing 268, including all but one of the nursing staff, further enraging popular opinion against Japan. Australian prisoners of war were at this time suffering severe ill-treatment in the Pacific Theatre. In 1943, 2,815 Australian Pows died constructing Japan's Burma-Thailand Railway In 1944, the Japanese inflicted the Sandakan Death March on 2,000 Australian and British prisoners of war—only 6 survived. This was the single worst war crime perpetrated against Australians in war. MacArthur largely excluded Australian forces from the main push north into the Philippines and Japan. It was left to Australia to lead amphibious assaults against Japanese bases in Borneo. Curtin suffered from ill health from the strains of office and died weeks before the war ended, replaced by Ben Chifley. Of Australia's wartime population of seven million, almost one million men and women served in a branch of the services during the six years of warfare. By war's end, gross enlistments totalled 727,200 men and women in the Australian Army (of whom 557,800 served overseas), 216,900 in the RAAF and 48,900 in the RAN.