Barack Obama, then junior United States senator from Illinois, announced his candidacy for President of the United States on February 10, 2007, in Springfield, Illinois. After winning a majority of delegates in the Democratic primaries of 2008, on August 23, leading up to the convention, the campaign announced that Senator Joe Biden of Delaware would be the vice presidential nominee. At the 2008 Democratic National Convention on August 27, Barack Obama was formally selected as the Democratic Party nominee for President of the United States in 2008. He was the first African American in history to be nominated on a major party ticket. On November 4, 2008, Obama defeated the Republican nominee, Senator John McCain of Arizona, making him the President-elect and the first African American elected president. He was the third sitting U.S. Senator, after Warren G. Harding and John F. Kennedy, to be elected president. Upon the vote of the Electoral College on December 15, 2008, and the subsequent certification thereof by a Joint Session of the United States Congress on January 8, 2009, Barack Obama was elected as President of the United States and Joe Biden as Vice President of the United States, with 365 of 538 electors. He also became the first president to not be born in the contiguous United States, as he was born in Hawaii. Obama's campaign is considered one of the most successful in US history. His victory over Hillary Clinton was considered by many to be an upset due to Clinton's early lead in the polls. In the general election, overwhelming backing by two-thirds of voters aged 18-29 and minority voters (66% of Hispanic voters and 95% of Black voters) were considered the most crucial demographic victories. Analysts also praised his campaign's effective use of the Internet in general and social media in particular, and considered their utilization of both a crucial factor in Obama's victory.