The Empire of Japan surrendered to the Allies on September 2, 1945, after a long war against the Allied nations of World War II ending with the atomic bombings of Hiroshima and Nagasaki. The Allies occupied the country and made many changes, including a new constitution. Allied occupation and reconstruction of the country continued well into the 1950s.