The main U.S. president during World War II was Franklin D. Roosevelt , who led the country through almost the entire war from 1939 until his death in April 1945. After Roosevelt died near the end of the war, Harry S. Truman became president and oversaw the final months of World War II in 1945.