The Imperial Japanese Navy's failure in the Battle of the Coral Sea, was the impetus for the Imperial Japanese Army to try to capture Port Moresby via the Owen Stanley Range. On 21 July 1942, the Japanese landed at Gona and thus began the Kokoda Campaign; after an initial advance, attempts to defeat them by Australian battalions across the Kokoda Track were met with eventual success. Resultant offensive operations concluded with the Japanese being driven out of New Guinea entirely. From 25 August 1942 to 7 September 1942, in parallel with these defences, the Battle of Milne Bay was waged. When the Japanese were repulsed, it was considered the first significant reversal of their forces for the war. The Kokoda Campaign ended after the Japanese withdrawal in November 1942, with Australian advances leading to the Battle of Buna–Gona on 16 November 1942.