O'Connor was appointed to the Supreme Court in 1981 by President Ronald Reagan. Reagan said while running for president that he wanted a woman to be on the supreme court and promised to nominate a woman for the job the first chance he got. One of her biggest supporters was Arizona Senator Barry Goldwater, who helped make sure that all 100 Senators voted to confirm her. While on the Supreme Court, she was involved in several major supreme court decisions including: Bush v. Gore, which had to do with a disputed election; Planned Parenthood v. Casey which involved a woman's right to privacy. She was also involved in Lawrence v. Texas, a case about whether burning a US flag was free speech. She retired from the court in 2006. Sam Alito was chosen to replace her. On August 12, 2009, she was awarded the Presidential Medal of Freedom. This is the highest civilian honor of the United States. It was given by President Barack Obama.