With Trump's signature, the bill will keep federal agencies funded until September 30, ending Washington's constant budget conflicts for now.
The Senate voted for the bill several hours after the House of Representatives passed it on Thursday. The votes capped a long struggle by Congress, which was supposed to have approved the government funding by October 1st 2017. Since then, several stop-gap spending bills have kept the government open, except for two brief shutdowns earlier this year when Congress deadlocked and funding expired.