After the war, he served as Army Chief of Staff (1945–1948), as president of Columbia University (1948–1953) and as the first Supreme Commander of NATO (1951–1952).
In 1952, Eisenhower entered the presidential race as a Republican to block the isolationist foreign policies of Senator Robert A. Taft, who opposed NATO and wanted no foreign entanglements. Eisenhower won that election and the 1956 election in landslides, both times defeating Adlai Stevenson II. Eisenhower's main goals in office were to contain the spread of communism and reduce federal deficits. In 1953, he considered using nuclear weapons to end the Korean War and may have threatened China with nuclear attack if an armistice was not reached quickly. China did agree and an armistice resulted, which remains in effect. His New Look policy of nuclear deterrence prioritized "inexpensive" nuclear weapons while reducing funding for expensive Army divisions. He continued Harry S. Truman's policy of recognizing Taiwan as the legitimate government of China, and he won congressional approval of the Formosa Resolution. His administration provided major aid to help the French fight off Vietnamese Communists in the First Indochina War. 