After five years in the White House that saw the conclusion to the U.S. involvement in the Vietnam War, détente with the Soviet Union and China, and the establishment of the Environmental Protection Agency, he became the only president to resign from the office. Nixon ended American involvement in the war in Vietnam in 1973, ending the military draft that same year. Nixon's visit to China in 1972 eventually led to diplomatic relations between the two nations, and he initiated détente and the Anti-Ballistic Missile Treaty with the Soviet Union the same year. His administration generally transferred power from federal control to state control. He also presided over the Apollo 11 moon landing, which signaled the end of the moon race. He was re-elected in one of the largest electoral landslides in American history in 1972 when he defeated George McGovern. At the start of his junior year in September 1928, Richard's parents permitted him to transfer to Whittier High School.