Nixon was born in Yorba Linda, California. He completed his undergraduate studies at Whittier College, then graduated from Duke University School of Law in 1937 and returned to California to practice law. He and his wife Pat moved to Washington in 1942 to work for the federal government. He served on active duty in the Navy Reserve during World War II. He was elected to the House of Representatives in 1946 and to the Senate in 1950. His pursuit of the 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, and he served for eight years as vice president, becoming the second-youngest vice president in history at age 40. He waged an unsuccessful presidential campaign in 1960, narrowly losing to John F. Kennedy, and he lost a race for governor of California to Pat Brown in 1962. In 1968, he ran for the presidency again and was elected, defeating Vice President Hubert Humphrey in a close and contentious election.