World War 2 ended in 1945 with the surrender of Nazi Germany and Imperial Japan. The atomic bombs dropped on Hiroshima and Nagasaki led Japan to surrender, bringing the war to a close. After the war, the Allied powers began denazification efforts in Germany and held the Nuremberg Trials to prosecute Nazi war criminals.