In 2008, Barack Obama won in the presidential election over the Republican Candidate John McCain. McCain's running mate was Sarah Palin from Alaska.
In 2012, Obama run against Mitt Romney, whose running mate (the to-be vice president) was Paul Ryan. Obama got 5 million popular votes more than Mitt Romney in that election.