World War II began in Europe in 1939 after Germany invaded Poland and continued to take over nations in violation of treaties, with other countries initially pursuing a failed policy of appeasement; the US entered the war in 1941 after Japan attacked Pearl Harbor, bringing their resources to the Allied side along with the Soviet Union against Germany and Japan, in a global conflict that ended in 1945 with the dropping of atomic bombs on Japan.