The Molotov-Ribbentrop Pact was signed in 1939 by the Soviet Union and Nazi Germany.