This vote will please Trump and could further divide Democratspublished at 04:05 GMT
04:05 GMT
Anthony Zurcher
North America correspondent
After 40 days of shutdown, a path to reopening the government has come into view.
All it took was for some centrist Democrats in the Senate to back down on the issue they said was the reason they had forced this legislative standoff to begin with.
Party leaders had said they would not lend their support to new funding for government operations until Congress addressed subsidies that help tens of millions of Americans pay for health insurance purchased through government-run exchanges.
In the end, all they received was a promise of a Senate vote on an extension – with no guarantees that the Republican-controlled House, whose support is also necessary, would do likewise.
The Senate deal will fully fund much of the US military, as well as the Department of Agriculture and legislative operations through next August. It would also temporarily fund all other government programmes through January.
That could set up another government shutdown showdown early next year. That is a battle for next year, however. For now, government workers – a key Democratic constituency – will start receiving pay cheques again.
Republicans – including Donald Trump – are likely to be pleased with tonight’s outcome, which allows them to resume making longer-term legislative plans.
Democrats may end up more divided. Yielding without resolving the insurance subsidy issue will be viewed by many as an unnecessary retreat.