With an invasion of the Japanese archipelago imminent, and the Soviet Union having declared war on Japan by invading Manchuria , Japan surrendered on 15 August 1945, ending the war in Asia and cementing the total victory of the Allies over the Axis.