World War II was a global conflict that lasted from 1939 to 1945. It involved two opposing military alliances: the Allies and the Axis powers. The war was caused in part by the Treaty of Versailles which ended WWI and humiliated Germany, as well as the worldwide economic depression in the 1930s. Key events included Germany's invasion of Poland in 1939, the German blitzkrieg tactics across Europe, the US entry into the war after the Japanese attack on Pearl Harbor, and the Allied D-Day invasion of Normandy in 1944. Ultimately, the dropping of atomic bombs on Hiroshima and Nagasaki led Japan to surrender in 1945, ending World War II.