Because of the losses in carriers at Midway, the Japanese were unable to invade Port Moresby from the sea. Japan tried to capture Port Moresby by land. Japan began its attack towards Port Moresby along the Kokoda Track on 21 July from Buna and Gona.