Richard Nixon was elected the 37th President of the United States (1969-1974) after previously serving as a U.S. Representative and a U.S. Senator from California. After successfully ending American fighting in Vietnam and improving international relations with the U.S.S.R. and China, he became the only President to ever resign the office, as a result of the Watergate scandal. On leaving the service, he was elected to Congress from his California district. In 1950, he won a Senate seat. Two years later, General Eisenhower selected Nixon, age 39, to be his running mate. His accomplishments while in office included revenue sharing, the end of the draft, new anticrime laws, and a broad environmental program. As he had promised, he appointed Justices of conservative philosophy to the Supreme Court. One of the most dramatic events of his first term occurred in 1969, when American astronauts made the first moon landing.