President Barack Obama has signed a measure into law reopening the federal government and averting a potential default.
The White House says Obama signed the bill early Thursday, hours after the House gave final approval.
The White House budget office has already instructed federal workers to plan to return to work Thursday morning.
The measure restores funding for the government through Jan. 15 and extends the nation's borrowing authority through Feb. 7.
The partial government shutdown started Oct. 1. The U.S. was to reach its debt limit Thursday if no deal was reached.
As the deal neared final passage in the House Wednesday, Obama said it was now time for leaders in Washington to win back the trust of Americans that was lost during the debt-and-spending crisis.
The legislation was carried to passage in the House by strong support from Democrats and 87 yes votes from majority Republicans who had originally sought to use the measure to derail Obama's three-year-old health care law.
Rep. Kristi Noem voted no on the bill, while Sen. Johnson and Sen. Thune voted yes.
Said Noem in a statement:
“This agreement will reopen the government and stop any talk of a default, which are both good things. However, I could not support this bill because it didn’t do anything to address our continued deficit spending, which has resulted in a $17 trillion debt.”
Sen. Thune released a statement shortly after the Senate vote:
"We fought hard to protect as many Americans as possible from ObamaCare, and that fight doesn't end today, but we're now 16 days into a shutdown and risking a possible default, and Congress needs to end this impasse. This isn't a perfect proposal, it's far from it, but it will ensure that we don't blow past the default date that's been set by the Treasury, and it will force Congress to have a broad debate about Washington's dangerous levels of spending and debt, which are hamstringing the economy and mortgaging our children's futures. This debate should be an opportunity to focus on fiscal policies that will actually grow the economy and strengthen the middle class."
Sen Johnson had this statement earlier Wednesday:
"I am glad the Senate leadership came together in a bipartisan fashion to find a way out of the mess we are in now, open up the government, and pay the nation’s bills. This compromise will help keep our economic recovery on track by sending a strong signal to consumers and businesses.
By holding firm in opposition to the House attempts at extortion, I hope that President Obama has permanently closed the door to the possibility of government default by either Republicans or Democrats.
A key piece of the agreement is jump starting a constructive budget process to find real solutions to address our deficit in a setting free of hostage taking."