 Obama won his party's presidential nomination after defeating Senator Hillary Clinton in the 2008 Democratic primaries.With Republican President George W. Bush term-limited, Senator John McCain of Arizona won the Republican nomination in the 2008 Republican primaries.Obama won the general election with 52.9 percent of the popular vote and 365 of the 538 electoral votes.