In May 1942, a battle between Allied and Imperial Japanese naval units took place in the Coral Sea, which resulted in the prevention of the Japanese sea-borne invasion of Port Moresby.