It will need to be approved by the House and then signed into law by the president before the government can reopen.

The Senate may be close to an agreement to fund the government and end the longest government shutdown in U.S. history.

Senators plan to vote on advancing House-passed stopgap funding bill, suggesting end to 40-day shutdown in reach