On August 23, 1939–shortly before World War II (1939-45) broke out in Europe–enemies Nazi Germany and the Soviet Union surprised the world by signing the German-Soviet Nonaggression Pact, in which the two countries agreed to take no military action against each other for the next 10 years.