The Cuban Missile Crisis was one of the pivotal events of the Cold War. The world was brought to the brink of war when the Soviets, in retaliation for US missiles in Turkey, placed nuclear missiles in Cuba. The CIA found out about the Soviet activities in Cuba and president John F. Kennedy demanded the immediate withdrawal of the Soviet warheads. In the end, war was narrowly averted by an agreement between the US and Soviet governments.