The Cold War was a decades-long geopolitical struggle between the US and USSR that began after WWII. Key events included the division of Germany and Berlin, formation of opposing military alliances like NATO and Warsaw Pact, arms and space races, proxy wars, and periods of heightened tensions like the Cuban Missile Crisis that brought the world close to nuclear war. Attempts at détente saw some arms control agreements in later decades but the Soviet invasion of Afghanistan in 1979 interrupted the thaw in relations.