On New Guinea, the Japanese on the Kokoda Track were within sight of the lights of Port Moresby but were ordered to retreat to the northeastern coast. Australian and US forces attacked their fortified positions and after more than two months of fighting in the Buna–Gona area finally captured the key Japanese beachhead in early 1943.