WASHINGTON (AP) -- There is little mystery, from a campaign viewpoint, at least, about the eight senators who crossed party lines in Wednesday's showdown vote on background checks for gun buyers.
The four Democrats who voted against broader background checks are from largely rural states that voted heavily against President Barack Obama last fall.
Three of the four Republicans who voted in favor of the measure are from states Obama carried easily. The exception is John McCain of Arizona, the GOP's 2008 presidential nominee.
The four Democrats -- Max Baucus of Montana, Mark Begich of Alaska, Heidi Heitkamp of North Dakota and Mark Pryor of Arkansas -- could cite a stack of pragmatic reasons for opposing the gun measure. The four Democrats' states have deep traditions of hunting and gun ownership. They lack large cities, where persistent shootings can build momentum for gun control.
None of that saved the four Democrats from Obama's wrath after the measure fell five votes short of the 60 needed to overcome a filibuster, a crushing defeat for Obama and others who want stronger measures to detect ineligible gun buyers.
In an emotional speech soon after the vote, the president -- without naming names -- said of the measure's opponents: "Most of these senators could not offer any good reason why we wouldn't want to make it harder for criminals and those with severe mental illnesses to buy a gun."
"It came down to politics," Obama said. "Obviously, a lot of Republicans had that fear, but Democrats had that fear, too. And so they caved to the pressure."
Besides McCain, the four Republicans who voted for the bill are Sens. Susan Collins of Maine, Mark Kirk of Illinois, Obama's home state, and Pat Toomey of Pennsylvania.
The four Democrats played down the unusual rebuke from their party's president.
"In politics, you don't take anything personal," Begich told reporters Thursday. His constituents, he said, "are Alaskans."
"They care about their guns. They're passionate about them," he said.
Baucus brushed off Obama's comments, telling reporters, "He can say what he wants to say." Baucus said he is comfortable with his vote, adding: "That's my state."
But Jon Tester, the other Democratic senator from Montana, where Obama lost by 13 percentage points last fall, drew a different conclusion and voted for the expanded background checks.
Lawmakers typically say they base their votes on principle, not pure politics. Yet one big difference between Tester and Baucus is hard to ignore: While Tester won't face Montana voters again until 2018, Baucus is seeking a seventh term next year.
Likewise, Pryor is up for re-election next year in a state that Obama lost to Mitt Romney in a landslide, 61 percent to 37 percent. And Begich is seeking a second term next year in Alaska, a solidly Republican state that Obama lost by 14 points.
Heitkamp, just elected in a contest many expected her to lose, won't run again until 2018. But her vote against the gun background-check proposal was in keeping with her widely praised campaign against Republican Rick Berg. Heitkamp inoculated herself on the gun issue by touting her "A'' rating from the National Rifle Association.
When New York City Mayor Michael Bloomberg funded pro-gun control TV ads aimed at Heitkamp after the December elementary school massacre in Connecticut, the new senator wore them like an honor.
"I wouldn't expect Mayor Bloomberg to follow my advice on how to run a major East Coast city," she said, "and I don't plan to follow his advice on what is best for North Dakotans."
Some political strategists say elected Democrats in strongly pro-gun states face a no-win situation. That might apply to Pryor, a 10-year Senate veteran whose father, David, also was a senator from Arkansas.
The younger Pryor proved so popular that Republicans didn't field a candidate against him in 2008. But Arkansas politics are shifting dramatically to the right.
Republican presidential nominees have carried the state by ever-larger margins over the past four elections. Two-term Democratic Sen. Blanche Lincoln was obliterated in 2010, losing her seat to Republican John Boozman by 21 percentage points.
Pryor waited until almost the last minute to announce his decision on the background-check measure. "It's too broad, unworkable, and unreasonable for hunters and gun owners in our state," he said.
A writer for the political website Arkansas Blog said, even before Pryor cast his vote, it's "doubtful that he'll get credit from the gun zealots for siding with them."
The votes by Pryor, Baucus and Begich stand in contrast to those of two other Senate Democrats facing potentially tough races next year: Mary Landrieu of Louisiana and Kay Hagan of North Carolina. Both voted for the expanded background checks on gun buyers.