Six days after the detonation over Nagasaki, Japan announced its surrender to the Allied Powers on August 15, 1945, signing the Instrument of Surrender on September 2, 1945, officially ending the Pacific War and, therefore, World War II, as Germany had already signed its Instrument of Surrender on May 8, 1945, ending the war in Europe. The two atomic bombings led, in part, to post-war Japan's adopting of the Three Non-Nuclear Principles, which forbade the nation from developing nuclear armaments.