The legislation would fund federal agencies at an annualized rate of more than $986 billion but would also leave in place automatic spending cuts known as sequestration, set to take effect in January. It would include language to prohibit any funding going to implementing the health-care law and, additionally, authorize the Treasury to pay some bills and not others in the event that no deal is reached in October on increasing the country’s debt limit.

House Republican leaders declared victory Friday after the vote, and they immediately ramped up pressure on the Senate to take up the fight.

“The House has listened to the American people. Now it’s time for the United States Senate to listen to them as well,” said House Speaker John Boehner (R-Ohio), to raucous applause from Republicans.