OAKLAND — At first, it looked like nobody believed less in the Golden State Warriors than Bernie Sanders.

With the team trailing the Western Conference Finals three games to one last week, Sanders scheduled his long-awaited Oakland rally for the same time as what then appeared to be a very unlikely Game 7.

Then sharpshooter Klay Thompson erupted, and Sanders, like any good politician — or political revolutionary — milked the local comeback story for all the political capital it was worth.

After moving up the start time of his Monday rally two hours so it barely conflicted with the game, Sanders donned a yellow Warriors cap to the delight of 11,000 supporters outside Oakland City Hall.

Then he headed to Oracle Arena where he watched the second half from a seat the 15th row with his Warriors fan buddy Danny Glover.

Sanders faces far longer odds in coming back against Hillary Clinton in the race for the Democratic presidential nomination than the Warriors did against the Oklahoma City Thunder, but the senator from Vermont wasn’t going to let math get in the way of a good story.

“The Warriors were down 3-1 and they turned it around and I think that that’s what we’re going to do, too,” Sanders said. “A very good omen for our campaign.”

Contact Matthew Artz at 510-208-6435. Follow him on Twitter at Matthew_Artz.