Operation Downfall was the codename for the Allied plan for the invasion of Japan near the end of World War II. The planned operation was abandoned when Japan surrendered following the atomic bombings of Hiroshima and Nagasaki and the Soviet declaration of war. The operation had two parts: Operations Olympic and Coronet.