Democratic Party candidate Barack Obama won the 2008 presidential election defeating Republican Party candidate John McCain. In the 2008 presidential election Barack Obama received 365 electoral votes and John McCain received 173 electoral votes. The popular vote totals were Obama 69,297,997 and McCain 59,597,520.