Arkansas’ entire delegation all voted Wednesday for a deal that would end the government shutdown and extend the debt ceiling.

The Senate approved the measure, 81 to 18. Both U.S. Sens. Mark Pryor (D-Ark.) and John Boozman (R-Ark.) voted for the deal.

A few hours later, the House approved the measure 285 to 144. Reps. Tom Cotton (R-Dardanelle), Rick Crawford (R-Jonesboro), Tim Griffin (R-Little Rock) and Steve Womack (R-Rogers) all voted in favor. 

The deal struck by Senate Majority Leader Harry M. Reid (D-Nev.) and Minority Leader Mitch McConnell (R-Ky.) funds agencies through January 15 and extends the debt ceiling through February 7.

Pryor was one of 14 senators who held a number of meetings in the last few days to end the shutdown.

“I was proud to be part of the bipartisan coalition of senators that laid the groundwork for this common-sense solution,” Pryor said in a Wednesday news release. “As I’ve said before, if we want to get things done in Washington, we must work together. We cannot allow a few irresponsible members of U.S. House of Representatives to play games with our nation’s future. It’s time to turn off the rhetoric and get back to work on our priorities—creating jobs, growing our economy, and responsibly reducing our debt and cutting spending. This agreement gives us the blueprint to accomplish these goals.”

In a news release Wednesday saying he would vote in favor of the agreement, Boozman said the shutdown and debt ceiling have very serious impacts.

“Already, Arkansas’s seniors, veterans, families and businesses are feeling the effects of shutdown,” Boozman said. “This bipartisan solution ends the unnecessary pains caused by the shutdown and avoids the potentially dramatic hit to the savings and pensions of hardworking Arkansans. This agreement extends through the first of the year which allows us to continue negotiating on debt and deficit reduction while chipping away at Obamacare.”

Cotton said he supported the legislation “to prevent Barack Obama from risking a default on our national debt and to open parts of the government that were temporarily shutdown.

“This bill is far from perfect, but it preserves annual spending caps and allows for more negotiation to stop Washington’s out-of-control spending,” Cotton said. “Senate Democrats have fought hard for more spending and to protect Obamacare at all costs. They even voted to keep Congress’s special Obamacare exemption rather than keeping the government open. I’ll use the time provided by this bill to keep fighting for Arkansas taxpayers who also want to be protected from Obamacare, as well as real spending reforms.”