Nearly every potential 2016 Republican presidential candidate serving in Congress opposed a deal, passed late Wednesday night, to fund the government and raise the debt limit.

Sens. Marco RubioMarco Antonio RubioRyan pledges 'entitlement reform' in 2018 Richard Gere welcomes lawmakers' words of support for Tibet Dem lawmaker gives McConnell's tax reform op-ed a failing grade MORE (Fla.), Rand PaulRandal (Rand) Howard PaulLexington mayor launches bid for Congress Trump-free Kennedy Center Honors avoids politics Meet the Iran hawk who could be Trump's next secretary of State MORE (Ky.), Ted CruzRafael (Ted) Edward CruzDebbie Wasserman Schultz marks 10 years as breast cancer survivor Foreign agent registration is no magical shield against Russian propaganda Let Trump be Trump and he'll sail through 2020 MORE (Texas) and Rep. Paul RyanPaul Davis RyanMcConnell names Senate GOP tax conferees House Republican: 'I worry about both sides' of the aisle on DACA Overnight Health Care: 3.6M signed up for ObamaCare in first month | Ryan pledges 'entitlement reform' next year | Dems push for more money to fight opioids MORE (Wis.) all opposed the bill, which passed with bipartisan support in both the House and Senate.

Rep. Peter King (N.Y.), who has publicly said he's exploring a run, was the only lawmaker to vote in favor.

Their opposition comes even as polling indicates the shutdown is deeply unpopular with Americans, and Republicans have received the brunt of the blame for it.

And the Democratic National Committee was already out with a fundraising plea on Wednesday night based on Cruz, Paul and Rubio's "no" votes.

"These are the men the Republicans want to run for president in 2016 and they just voted for default. Hold them accountable," the email reads.

Though none of the four has yet made presidential bids official, they're all widely known to be considering it.

Their votes in opposition may be an early indication that those vying for the GOP nomination will battle it out for the title of most conservative, as the conservative wing of the party had urged Republicans to stand their ground on a shutdown until the party drew concessions on ObamaCare, which Republicans would like to see dismantled.

Rubio and Cruz both cited the measure's failure to dismantle ObamaCare as part of the reason they voted against it, with both pledging to keep up the fight to tear down the law.

In an appearance on Fox's "Hannity," Cruz called the measure a "lousy deal."

"It does nothing for people hurting from ObamaCare," he said. "It is an unfortunate instance of the Washington establishment once again not listening to the American people."

And Rubio said the deal ultimately hadn't solved the nation's problems, because "we have a disastrous health care law that's going to be hurting real people in dramatic ways," he said on the show.

Rubio also cited the fact that the deal does nothing to tackle the debt as reason for voting against it — the main concern of Ryan and Paul, neither of whom made any mention of ObamaCare in their statements on their "no" votes.

“To pay our bills today —- and to make sure we can pay our bills tomorrow -— we must make a down payment on the debt,” Ryan said. “Today’s legislation won’t help us reduce our fast-growing debt. In fact, it could extend the debt ceiling well into next year, further delaying any action. In my judgment, this isn’t a breakthrough. We’re just kicking the can down the road.”

Paul said the debt is "a problem bigger than any deadline," adding that he was "disappointed that Democrats would not compromise to avoid the looming debt debacle."