President Obama wasn’t supposed to win. At least that’s what history said. No president had won with an economy so bad. No president had won with the country in a mood so funky. But as is his wont, Obama defied history.

The man with the funny name captured the nation’s attention with one speech in 2004. Four years later, he was elected president. He would endure four years of questions about his faith, his nationality, his very legitimacy. And he would contend with a hardened Republican opposition that had it in for him before Day 1. Tonight, he won reelection after waging the costliest race in U.S. history against Mitt Romney.

The former Massachusetts governor ran an empty campaign that insulted voters. As the Post’s editorial board said over the weekend: “Through all the flip-flops, there has been one consistency in the campaign of Republican presidential nominee Mitt Romney: a contempt for the electorate.”

The board continued” “Mr. Romney . . . seems to be betting that voters have no memories, poor arithmetic skills and a general inability to look behind the curtain. We hope the results Tuesday prove him wrong.”

They did.