Both of Alabama's U.S. senators said Wednesday that they intend to vote in favor of the two-year budget deal agreed to by the leaders of their respective parties that lifts caps on military and domestic spending but does not include a compromise on legalizing some illegal immigrants who were brought to the country as children.

While Republican Sen. Richard Shelby and Democratic Sen. Doug Jones are expected to approve the budget, the spending plan has a gloomy fate in the House, where conservative Republicans are concerned about adding to the debt while liberal Democrats find the deal unappealing because it doesn't deal with the illegal immigrant children known as DREAMers. It's also unclear exactly how many senators plan to buck their party leaders and vote against the agreement.

A Shelby spokeswoman said Alabama's senior senator will be supporting the deal.

I'm encouraged by today’s budget agreement, which would provide our military the resources needed to keep America safe. It's critical that we invest in our defense, our veterans, disaster relief, infrastructure, & combatting opioids. I also support repealing IPAB from Obamacare. — Richard Shelby (@SenShelby) February 7, 2018

Jones, who campaigned on reaching across the aisle, was one of a few Democrats who joined Republicans in supporting a short-term spending plan late last month that would have averted a government shutdown. But most Democrats opposed the plan, and a partial shutdown lasted three days.

At the time, the Alabama Democrat said that the deal to end the shutdown was imperfect because it didn't include funding to stem the opioid crisis or allocating dollars to support community health centers in rural locations.

On Wednesday, Jones said the agreement between Senate Majority Leader Mitch McConnell and Minority Leader Chuck Schumer was "a very encouraging step forward."

"This is a big step in the right direction," Jones said in a statement. "I encourage my colleagues in the House to support this robust bipartisan bill so we can get back to working on the many other important policy challenges we face."