Presidential elections were held in the United States on November 4, 2008. The Democratic ticket of Barack Obama, the junior senator from Illinois, and Joe Biden, the senior senator from Delaware, defeated the Republican ticket of John McCain, the senior senator from Arizona, and Sarah Palin, the governor of Alaska. Obama became the first African American to be elected to the presidency.
Incumbent Republican president George W. Bush was ineligible to pursue a third term due to the term limits established by the Twenty-second Amendment; this was the first election since 1952 in which neither the incumbent president nor vice president was on the ballot, and the first since 1928 in which neither ran for the nomination. McCain secured the Republican nomination by March 2008, defeating his main challengers Mitt Romney and Mike Huckabee, and selected Palin as his running mate. The Democratic primaries were marked by a sharp contest between Obama and the initial front-runner, former first lady and Senator Hillary Clinton, as well as other challengers who dropped out before most of the primaries were held, including Senators John Edwards and Joe Biden. Clinton's victory in the New Hampshire primary made her the first woman to win a major party's presidential primary. After a long primary season, Obama narrowly secured the Democratic nomination in June 2008 and selected Biden as his running mate.