A group of prominent Senate Democrats is pushing to use a must-pass spending bill to cut off funding for the Iran war, complicating the path toward a bipartisan deal for averting a partial government shutdown next month.

Sen. Tim Kaine, D-Va., said Thursday he is working on legislative language ending the war that he wants attached to the next continuing resolution that is needed by Dec. 11, when current funding runs out.

“I know it’s going to be my main push,” he said. “I have to work with colleagues to try to find some language that works. And I’m not there yet, but I’ve told everybody that’s an opportunity.”

Democratic Sens. Michael Bennet of Colorado, Chris Van Hollen of Maryland, Tammy Duckworth of Illinois and independent Bernie Sanders of Vermont released a statement Thursday that they would oppose any deal that does not include “language that restricts the Trump Administration from using appropriated funds to continue his war against Iran.”

“When we vote on appropriations, we intend to fund the government and stop funds for this war,” the senators said. “It is what the American people demand, and what they deserve.”

It is unlikely that Republicans, who are in control of both chambers of Congress until January, not to mention the Oval Office beyond that, would agree to such a deal.

House Appropriations Chairman Tom Cole, R-Okla., said earlier this week that “a Republican Congress is not going to send bills to a Republican president that he’s going to veto.”

While ending the war is a top priority of Democrats as they take back power in the new Congress, insisting on doing so this year could lead to a Christmas-time partial government shutdown. If a shutdown starts after Dec. 11, it’s possible it would still be ongoing when Democrats take control of both chambers in January.

But some Democrats appeared to still be weighing how quickly to push for a cutoff of war funding.

Senate Appropriations ranking member Patty Murray, D-Wash, said that whether or not Defense Secretary Pete Hegseth remains in his job, “we’re still going to have language stopping this war.”

She was coy on whether that fight would take place on the anticipated continuing resolution in December or wait until next year when Democrats take back power, saying that lawmakers are “looking at all options.”

Democrats are committed to ending the “reckless and costly war of choice in Iran,” House Minority Leader Hakeem Jeffries, D-N.Y., said Thursday. He deferred to House Appropriations ranking member Rosa DeLauro, D-Conn., “to see what’s possible in advance of Dec. 11” in talks with the other top appropriators.

“I don’t want to get out ahead of Congresswoman DeLauro, but House Democrats have uniformly opposed providing any additional money to Donald Trump’s war machine. to Pete Hegseth’s war machine, over in the Middle East,” Jeffries said.

It’s not clear how long a potential continuing resolution would last, and DeLauro said earlier this week that she wants it to be as short as possible.

The Office of Management and Budget has not yet submitted “anomalies” — changes to the current spending levels to be included in the continuing resolution — to Congress.

The administration is considering options including a stopgap bill that would run through March, sources familiar with the talks said. But no decision on the timing covered by the anomalies has been made.

Aris Folley, Jacob Fulton and Michael Macagnone contributed to this report.