Senate Democrats bowed to pressure to reopen the government Monday, joining Republicans in backing an immigration and spending compromise that was quickly denounced by liberals and immigration activists.
The Senate voted 81-18 to end a filibuster of a spending bill that would fund the government through Feb. 8, reauthorize the Children's Health Insurance Program for six years and roll back several health-care taxes.
President Trump welcomed Democrats' decision to relent and said, "I am pleased that Democrats in Congress have come to their senses".
But the resolution of the three-day stalemate exposed a growing rift between two groups of Democratic senators: those facing tough reelection campaigns in states Trump won, and those courting liberal voters ahead of possible 2020 presidential bids.
A majority of Democrats had forced the shutdown with demands for a vote on legislation to protect Deferred Action for Childhood Arrivals recipients, known as "dreamers," from deportation after Trump canceled the program. The final agreement did not include these protections, nor any specific guarantee of a vote.
"The Democrats are turning down services and security for citizens in favor of services and security for noncitizens. Not good!" Trump wrote on Twitter.