Question: who obama ran against in 2008?
Answer: 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.