Nazi Germany terminated the Molotov–Ribbentrop Pact with its invasion of the Soviet Union in Operation Barbarossa on June 22, 1941.[166] After the launch of the invasion, the territories that had been gained by the Soviet Union as a result of the Molotov–Ribbentrop Pact were lost in a matter of weeks.