Japan was attacked with atomic bombs , its territory was invaded and the Soviet Union was against them in World War II .
With an invasion of the Japanese archipelago imminent , the possibility of additional atomic bombings , and the Soviet Union 's declaration of war on Japan and invasion of Manchuria , Japan surrendered on 15 August 1945 .
World War II