A $1.1 trillion government spending bill is headed to the president's desk.
The Senate voted72-26 to approve the bill, which funds the government until October. The House approved it on Wednesday by a vote of 359-67.
The spending bill, termed an "omnibus," rolls 12 appropriations packages into one massive piece of legislation that clocks in at 1,582 pages.
It contains funds for everything from aid to Israel and Egypt to the fight against Asian carp in the Great Lakes.
It also restores unpopular cuts to cost-of-living increases in the pensions of disabled veterans.
Outside conservative groups like the anti-tax Club for Growth and the Heritage Foundation's political arm opposed the bill, saying it failed to curb spending and eliminate waste.
Sen. Ted Cruz, R-Texas, also tried unsuccessfully to introduce amendments to the legislation to defund the Obama health care law.
But the bill got bipartisan support from lawmakers weary of the threat of government shutdowns and relieved by the bipartisan compromise forged by Sen. Patty Murray, D-Wash., and Rep. Paul Ryan, R-Wis.