Richard M. Nixon was the 37th President of the United States from 1969 to 1974. He had a career in law and politics prior to becoming president. As president, Nixon ended US involvement in the Vietnam War and improved relations with China and the Soviet Union. However, the Watergate scandal, involving a break-in at the Democratic National Committee headquarters and Nixon's subsequent attempts to cover it up, led to his resignation in 1974 to prevent impeachment.