in what year was obama elected president
Barack Obama defeated Republican John McCain by winning the popular election on November 4, 2008, winning 52.9% of the popular vote.