Update as of 12:38 a.m. EDT: President Barack Obama signed the bill into law some time after midnight, reactivating government services and bringing furloughed federal employees back to their jobs, media reports said.

The U.S. government shutdown is over.

Only hours before the United States Treasury ran out of money to pay U.S. debts, both the Senate and the House approved a bill to end the 16-day government shutdown by funding the federal government through Jan. 15 and raising the United States debt ceiling through Feb. 7. Reuters reports that the Senate passed the bill 81-18, while the House passed the resolution 285-144.

  • Obama 16Oct2013
    President Barack Obama Photo: Reuters
  • President Barack Obama
    U.S. President Barack Obama speaks to the media in the briefing room of the White House in Washington after the Senate passed the bill to reopen the government on Oct. 16, 2013. Photo: Reuters/Yuri Gripas
  • Government Shutdown 2013
    The U.S. Capitol looms in the background of a sign on the National Mall reminding visitors of the closures to all national parks due to the federal government shutdown in Washington October 3, 2013. Photo: Reuters
  • Government Shutdown Has Affected Auto Recalls
    Auto recalls have been halted as a result of the government shutdown. (Pictured) A protester holds up a sign calling for an end to the U.S. government shutdown on Capitol Hill in Washington, Oct. 10. Photo: Reuters
  • US Government Shutdown
    People protest against the government shutdown and potential cuts to Social Security and Medicare Outside the Federal Building in Los Angeles on Oct. 16, 2013. Photo: Reuters/Lucy Nicholson

The proposal is currently on its way to the office of President Obama, who has promised to sign the 35-page bill “immediately.”

"Once this agreement arrives on my desk, I will sign it immediately," Obama said at a press conference on Wednesday night. "We'll begin reopening our government immediately, and we can begin to lift this cloud of uncertainty and unease from our businesses and from the American people."

Continue Reading Below

Though the bill will only fund the federal government for a few more months, President Obama has promised that the nation will not experience a similar shutdown come January.