The US Senate passed a USD 1.1 trillion spending bill in a 56 to 40 vote late Saturday that will extend funding to most of the US Administration through the end of September.
An exception in the bill rests on the Department of Homeland Security that is only funded until February 27. This is in part due to President Barack Obama's executive action on an immigration policy the Republicans want to eliminate because it will delay deportation of immigrants living in the country illegally.
The legislation faced heavy criticism by some Democrats who were against a measure that would ease Wall Street regulations and increase the amount individual donors can contribute to national political party committees.
Some Republicans were also against elements that would provide additional funding to immigration and keep funding for Obama's affordable care act.
The bill was approved after the Senate pushed for a rare weekend session and passed a temporary spending bill to fund the government through Wednesday in order to give legislators more time to consider the bill.
On Thursday, the House narrowly approved the bill in a 219-206 vote, hours before its deadline.
The bill is pending President Barack Obama's signature, which he is expected to approve.