The Cuban Missile Crisis was a 13-day political and military standoff between the United States and the Soviet Union that occurred in October 1962. It was a crucial moment during the Cold War and marked the closest the world ever came to a nuclear conflict. At the time, the Soviet Union was installing missiles in Cuba, which could have threatened US security. The US government responded by enacting a naval blockade around Cuba, leading to a dangerous standoff between the two nations.

The agreement that ended the Cuban Missile Crisis is known as the Joint US-Soviet Communique and was signed on October 28, 1962. The agreement was the product of intense negotiations between President John F. Kennedy and Soviet Premier Nikita Khrushchev.

The agreement contained several key provisions, including the Soviet Union`s commitment to dismantle its missile installations in Cuba and the United States` agreement not to invade Cuba. Additionally, the US secretly agreed to dismantle its missile installations in Turkey, which were a source of concern for the Soviet Union.

The Joint US-Soviet Communique marked a critical moment in Cold War history. It not only prevented a potential nuclear war, but also established lines of communication between the two superpowers. After the crisis, both countries established a direct communication line to prevent another crisis from happening in the future.

In conclusion, the agreement that ended the Cuban Missile Crisis was a pivotal moment in world history and established a framework for peaceful relations between the US and the Soviet Union. The resolution of the crisis showed the power of diplomacy and negotiation to prevent conflicts from escalating into catastrophic proportions.