The New Guinea campaign of the Pacific War lasted from January 1942 until the end of the war in August 1945.