Harry Truman was President when World War II ended and the Soviet Union began taking over satellite nations in Eastern Europe. To prevent the spread of communism in Europe—particularly in Turkey and Greece—during the opening days of the Cold War in 1947, Truman developed the Truman Doctrine.