Richard Milhous Nixon was the 37th President of the United States, serving from 1969 to 1974, when he became the only president to resign the office. Nixon had previously served as a Republican U.S. Representative and Senator from California and as the 36th Vice President of the United States from 1953 to 1961. Nixon was born in Yorba Linda, California. He graduated from Whittier College in 1934 and Duke University School of Law in 1937, returning to California to practice law. He and his wife, Pat Nixon, moved to Washington to work for the federal government in 1942. He subsequently served in the United States Navy during World War II. Nixon was elected in California to the House of Representatives in 1946 and to the Senate in 1950. His pursuit of the Alger Hiss case established his reputation as a leading anti-communist, and elevated him to national prominence. He was the running mate of Dwight D. Eisenhower, the Republican Party presidential nominee in the 1952 election. Nixon served for eight years as vice president. He waged an unsuccessful presidential campaign in 1960, narrowly losing to John F. Kennedy, and lost a race for Governor of California in 1962. In 1968, he ran again for the presidency and was elected.