A government shutdown was prevented this weekend after Congress passed a stopgap funding measure.

The continuing resolution was passed by the Senate just a few hours before a 12:01 a.m. shutdown of the federal government would have taken effect. The measure was signed into law by President Joe Biden late Saturday night.

The bill allows the government to stay open for 45 days, giving the House and Senate more time to finish their funding legislation.

The House passed a bipartisan bill to extend government funding .

A potential shutdown now could not happen until Nov. 17. It includes natural disaster funding, but not aid for Ukraine to help Kyiv fight against Russia.

The final vote tally was 335-91.

Some of the New Mexico Congressional Delegation issued statements on the passage of the continuing resolution to keep the government open.

U.S. Rep. Melanie Stansbury (D-N.M. 1)

“In a huge victory for the American people, we voted today to keep the government open and avert a government shutdown. House Democrats have fought for weeks to avert a shutdown, driven by GOP infighting and extremist demands to defund critical programs and policy riders that would harm our communities. Today’s Continuing Resolution will make sure our military and federal workers are paid, programs continue to operate at 2023 levels, and the federal government can remain operational for the next six weeks as appropriations bills are debated in the House.

“This is a huge win for the thousands of New Mexicans who deserve to get their paychecks and who rely on federal assistance to make ends meet. While we will continue to negotiate over appropriations and funding bills for the upcoming fiscal year, this measure avoids a shutdown and ensures all federal workers are paid. This will save hundreds of thousands of Americans from falling behind on bills and allows them to continue to put food in the table. Today, we put people over politics.”

U.S. Sen. Martin Heinrich (D-N.M.)

“Keeping the government open today with responsible spending levels is a victory for the American people. It’s also important to understand that this was a monumental defeat for Speaker McCarthy and the most extreme elements in the House.

“But our job is not done. Now we must return to crafting responsible bipartisan government funding bills and redouble our efforts to pass a more robust support package for our allies in Ukraine.”

U.S. Sen. Ben Ray Luján (D-N.M.)

“I just voted to keep the government open and avoid a GOP shutdown. This protects federal employees in New Mexico and across the country. But make no mistake — this was a manufactured crisis from House Republicans who did not keep their word to the American people. The Senate worked on a bipartisan basis from day one to avoid a shutdown, and I will continue to work with my colleagues to deliver long-term funding that provides certainty to the American people. I remain committed that Congress must provide critical aid to Ukraine to make it clear that the United States stands for the people of Ukraine over Putin’s acts of aggression.”

U.S. Rep. Gabe Vasquez (D-N.M. 2)

“The fact is a government shutdown would be detrimental for New Mexicans. In every decision I make, I put New Mexico first, and today’s vote protects the livelihoods of New Mexicans. I remain committed to coming to the table to work with my colleagues across the aisle. This Continuing Resolution, although frustrating and flawed, is the only option to support the people of the second district. Passing this bill will ensure critical resources are available for veterans, working families and seniors while also ensuring we have national defense and public safety resources.

“However, this compromise does not provide much-needed funding to support the good people of Ukraine. Our colleagues in the Senate have shown bipartisan support for standing up to the authoritarian dictatorship in Russia and protecting the innocent people of Ukraine. I remain committed to protecting this key Democratic, sovereign nation.”