Nevada cattle rancher Cliven Bundy knows how to start a stampede.

After Bundy, who became a right-wing hero for his refusal to acknowledge the authority of the federal government, wondered aloud about whether “Negro” people were “better off as slaves,” conservative figures who had celebrated his cause rushed to distance themselves from him.

Sen. Rand Paul (R-Ky.), who had condemned the federal government’s attempt to enforce court orders against Bundy: “Offensive.”

Sen. Dean Heller (R-Nev.), who had declared Bundy’s followers “patriots”: “Appalling and racist.”

And Sean Hannity, who had led a Fox News campaign that made a hero of Bundy: “Beyond repugnant.”

Bundy boosters are right to be appalled, but they should not be shocked.

The anti-government strain of thought that Bundy advanced has been intertwined with racist and anti-Semitic views over several decades. Not all people who resist the authority of the federal government are motivated by race, of course, and not all racists are anti-government. But there is a long symbiosis between the two.

Among those who rallied to Bundy’s defense in Bunkerville, Nev. — the supporters Heller labeled patriots — was Wiley Drake, an Internet preacher affiliated with the “Oath Keepers” movement. According to reports from the scene, Drake told a crowd of Bundy supporters that they shouldn’t bow to the “half-breed” President Obama.

In general terms, Bundy’s notion of state supremacy — “I don’t recognize the United States government as even existing” — is a variant of states’-rights claims that go back to the Civil War and were revived in the segregationists’ opposition to civil rights laws. Because the federal government has been the protector of minority rights, states’ rights have long been used to justify discrimination.

Specifically, the Southern Poverty Law Center, which tracks anti-government and hate groups, says that Bundy’s sentiments align closely with those of the “Posse Comitatus” movement, founded by William Potter Gale in the 1970s. That movement based its anti-tax position — and its belief in the primacy of county and state authority over the federal government — on a belief that the levers of national power were controlled by Jewish bankers. “Most of the ideas that bolster positions like Cliven’s that the federal government doesn’t exist come from Posse Comitatus ideology,” the SPLC’s Ryan Lenz argues. And that ideology is rooted in bigotry.

The SPLC puts “patriot” groups in a separate category from white supremacists and others organized around hate. The patriots make a constitutional argument to justify antipathy toward the federal government; this can be seen in the noise about secession, nullification, “state sovereignty” and the primacy of the 10th Amendment. But the two categories have some overlap — and that’s why politicians and commentators who try to harness the energy of the “patriot” movement got burned this week. If you flirt with extremists, you’re eventually going to end up with strange bedfellows.

Chris McDaniel, opposing Sen. Thad Cochran in Mississippi’s Republican primary, withdrew from being the keynote speaker at next month’s “Firearm Freedom Day/Tea Party Music Fest” conference when it was reported that the same conference was also touting the participation of a seller of “white pride” merchandise. Likewise, Greg Abbott, the GOP gubernatorial candidate in Texas, campaigned with Ted Nugent and got caught in an uproar over the rock musician labeling Obama a “subhuman mongrel.”

In Florida, Rep. Ted Yoho (R) had to backtrack after telling constituents that he couldn’t say with “100 percent” certainty that the Civil Rights Act is constitutional because “a lot of things that were passed are not constitutional.” Yoho later issued a statement saying the act “is one of the most significant, and constitutional, pieces of legislation in the past 100 years.” Yoho’s flap was reminiscent of Paul’s 2010 questioning of the act’s constitutionality and subsequent climb-down.

Paul, as it happens, was among those undermined by Bundy when the New York Times’s Adam Nagourney reported the rancher’s racist monologue Wednesday night. Paul had sided with Bundy in the standoff, saying “the federal government shouldn’t violate the law, nor should we have 48 federal agencies carrying weapons and having SWAT teams.”

Various others, including Nevada’s Republican governor, Brian Sandoval, had been similarly critical of the federal government. Sen. Ted Cruz (R-Tex.) on Tuesday said the federal government was “using the jackboot of authoritarianism to come against the citizens.”

By Thursday, Cruz’s office was calling Bundy’s racism “completely unacceptable.”

And yet completely unsurprising.

Twitter: @Milbank

Read more from Dana Milbank’s archive, follow him on Twitter or subscribe to his updates on Facebook.