Talking about presidential candidates from last Presidential elections, I found the following sentence (all this is said before the Elections):

"And then, of course, there's always the candidate who hasn't entered the race yet, but who won the office back in 2000"

Please, what's the meaning of "won the office."?

Thank You