The Senate on Thursday passed the initial part of a $1.4 trillion spending package to fund the government through the rest of the fiscal year.

Senators voted 71-23 on the first measure, which totals $534.4 billion. They’re expected to vote on the remaining bill later Thursday.

After that they'll send the legislation to President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act MORE’s desk. White House officials have indicated he will sign the bills before the end of the day Friday when current funding expires.

ADVERTISEMENT

The House on Tuesday overwhelmingly passed the pair of bills, with the first passing on a 297-120 vote and the second passing 280-138.

The first package passed by the Senate on Thursday covers eight government funding bills: labor, health and human services, and education; agriculture; state and foreign operations; military construction and veterans affairs; transportation and housing and urban development; energy and water; interior and environment; and the legislative branch.

Passage of the spending package will cap months of haggling that blew past the Oct. 1 start of the 2020 fiscal year and repeatedly brought the government to the brink of a shutdown. Thursday’s vote came less than 36 hours before the last funding bill runs out.

Congressional leaders, in trying to sell the agreement this week, warned that the only backup to the deal on the fiscal 2020 bills would be another stopgap continuing resolution (CR) — which would have extended fiscal 2019 funding levels.

“A lot of hard work brought this appropriations process back from the brink,” said Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellHawley warns Schumer to steer clear of Catholic-based criticisms of Barrett Senate GOP set to vote on Trump's Supreme Court pick before election Harris slams Trump's Supreme Court pick as an attempt to 'destroy the Affordable Care Act' MORE (R-Ky.). “This legislation touches all 50 states. This is why full-year funding bills are better than chronic CRs.”

ADVERTISEMENT

Senate Appropriations Committee Chairman Richard Shelby Richard Craig ShelbyThe Hill's Morning Report - Sponsored by Facebook - Republicans lawmakers rebuke Trump on election Senate to push funding bill vote up against shutdown deadline Senate GOP eyes early exit MORE (R-Ala.) pitched the bills on Thursday as a product of bipartisan cooperation.

“As the clock winds down, let’s come together and do what seemed so unlikely just a month ago: fund the entire federal government before the Christmas break,” he said.

The 12 fiscal 2020 spending bills were broken into two packages because Trump threatened that he would not sign another omnibus — when all the spending bills are rolled into one piece of legislation.

The eight bills passed first on Thursday eliminate the 2010 Affordable Care Act's "Cadillac tax," as well as an annual fee on health insurance providers and the medical device tax.

It also provides $25 million to the Centers for Disease Control and Prevention and National Institutes of Health for gun violence research, a major win for Democrats.

ADVERTISEMENT

"The politics of gun violence are literally shifting beneath our feet,” said Sen. Chris Murphy Christopher (Chris) Scott MurphyDemocratic senator calls for 'more flexible' medical supply chain to counter pandemics The Hill's 12:30 Report - Presented by Facebook - Don't expect a government check anytime soon GOP chairman to release interim report on Biden probe 'in about a week' MORE (D-Conn.). “The small steps forward on gun safety in this budget bill — including the funding for research I fought for and secured — are really good news. But we can’t stop here.”

The second part of the package includes funding for homeland security; defense; commerce, science and justice; and financial services and general government.

The homeland security bill includes $1.375 billion for physical barriers along the U.S.-Mexico border, the same amount included in the fiscal 2019 bill. It also leaves the number of detention beds for Immigration and Customs Enforcement flat, and, in a win for the White House, imposes no restrictions on Trump’s use of emergency powers to reprogram defense funds toward his wall.

The border wall has become a perennial sticking point in the government funding negotiations during the Trump era. A protracted fight over the border wall led to a record 35-day partial shutdown that started in December 2018 and ended with Trump declaring a national emergency to win more money.

Fiscal conservatives railed against the bill before its passage, but with the packages loaded up with priorities for both parties their opposition wasn’t enough to endanger the funding measure.

Sen. Mike Lee Michael (Mike) Shumway LeeSunday shows preview: Lawmakers prepare for SCOTUS confirmation hearings before election Bipartisan representatives demand answers on expired surveillance programs McConnell shores up GOP support for coronavirus package MORE (R-Utah) blasted negotiators for pretending that they weren’t basically passing an omnibus.

“Leaders and appropriators have cleverly put the negotiated spending agreement into two bills so that we can all pretend that it’s better than just one,” he said. “Even though they were negotiated at the same time, released to the public at the same time and will be voted on within only minutes of each other."

Sen. Ted Cruz Rafael (Ted) Edward CruzSenate GOP set to vote on Trump's Supreme Court pick before election Supreme Court fight pushes Senate toward brink Crenshaw looms large as Democrats look to flip Texas House seat MORE (R-Texas) added in a video that the spending deal was a “pile of trash,” while Sen. James Lankford James Paul LankfordMcConnell works to lock down GOP votes for coronavirus bill Charities scramble to plug revenue holes during pandemic Warren calls for Postal Service board members to fire DeJoy or resign MORE (R-Okla.) compared the spending bill to the first time he tried “supreme pizza.”

“There were some things that I really, really didn’t like in that bite,” he added. “There are some things in these bills coming up ... that I just cannot support.”