Answer
Dewey defeated Taft in the Republican primaries leading up to the 1948 presidential election. Taft was the incumbent President at the time, seeking re-election. Dewey, the Governor of New York, was seen as a more moderate and electable candidate, and he ultimately won the Republican nomination. However, he lost the general election to Democratic candidate Harry S. Truman in a major upset.