Kennedy was president for only 1,037 days, but during his short tenure, he achieved much. At the Cold War's most dangerous hour, he preserved the peace. He improved relations with the Soviet Union and replaced tension over Berlin with a limited test ban treaty.