The House on Thursday passed a bipartisan measure to continue funding the government through September, averting a shutdown one week before the lights would go out.
The final vote was 318-109, winning a majority of Republicans and Democrats.
The legislation, which passed the Senate by a vote of 73-26 on Wednesday, now goes to President Obama for his signature.
The continuing resolution sustains the lower spending levels under sequestration but provides flexibility to the Pentagon and a handful of domestic programs in an effort to avoid some of the worst impacts of the automatic, indiscriminate spending cuts. It was the product of bipartisan negotiations to address the top priorities of each party.