What was the one political office that Obama failed to win in an election?

U.S. Senate
House of Representatives
U.S. vice president
Federal District Court