Nope, not really. Was a state senator in Illinois. Then he was a US Senator for about 100 days or so before he decided he was ready to be president, and started campaigning after that.
I wonder how many bills he actually contributed to and voted on while he was there for 100 days Such great qualifications for the Nobel Peace Prize, let alone president