candidate: The most famous non-aggression pact is the 1939 Molotov – Ribbentrop Pact between the Soviet Union and Nazi Germany , which lasted until the 1941 German invasion of the Soviet Union in Operation Barbarossa .