The Cold War began in 1945 after WWII and lasted until 1991. It was a period of geopolitical tension and military buildup between the United States and its capitalist allies and the Soviet Union and its communist allies. Though direct military conflict was avoided, the two superpowers engaged in espionage, propaganda, arms races, and proxy wars. Canada was pulled closer to the U.S. through alliances like NORAD but maintained some independence in foreign policy decisions. The threat of nuclear war loomed large throughout the Cold War as both sides stockpiled weapons.