In the span of the last decade he went from being the vice president to being the presumptive Democratic nominee for president to winning the popular vote for president only to lose in the Electoral College -- after an intervention by the Supreme Court made his 537-vote loss in Florida official .