The Senate has voted to pass a bill that reopens the government and raises the nation's $16.7 trillion borrowing limit, almost putting an end to a 16-day federal government shutdown and ending the threat of a potential default on U.S. obligations.

The bill cleared a key procedural hurdle, by an 83-16 vote, to move it to a final vote. The final vote, which came right after, passed by an 81-18 margin.

The bill now heads to the House for final passage. House Speaker John Boehner will let the bill come to the floor and pass with mostly Democratic votes. 

The bill was the result of a deal brokered by Senate Majority Leader Harry Reid and Minority Leader Mitch McConnell earlier Wednesday. It funds the government through Jan. 1 and suspends the nation's debt limit through Feb. 7. 

It also includes a measure of income verification for those receiving subsidies under the Affordable Care Act. In short, the Secretary of Human Health Services will submit a report no later than Jan. 1 detailing the verification process. The department's inspector general will submit to Congress no later than July a report on the effectiveness of those procedures.

We'll be covering the votes live. Check back here for updates. For the full text of the bill, see here.

See Also:

WE HAVE A DEAL: SENATE VOTE TO COME SOON ON FISCAL AGREEMENTHarry Reid's Office Sums Up The House GOP's Last Four Weeks In One GraphicHere's Why Congress Is Locked In A Psychodrama That Prevents A Deal