In the general election , Barack Obama defeated Senator John McCain of Arizona .
In the general election , Barack Obama nominated Clinton as the 67th Secretary of State , an office in which she served until February 2013 .
In the general election , Barack Obama defeated Senator John McCain of Arizona , and nominated Clinton as the 67th Secretary of State , an office in which she served until February 2013 .