In 1938 , at the outbreak of World War II , which had a larger population , the Western Allies ( United Kingdom , France , Poland and British Dominions ) or the European Axis ( Germany and Italy )
Following the atomic bombings of Hiroshima and Nagasaki , Japan surrendered , marking the end of the war on September 2 , 1945 .