The Senate passed a short-term government funding bill on Saturday, averting a shutdown that had loomed over Washington as the fiscal deadline approached. The stopgap measure extends federal spending authority, giving lawmakers additional time to negotiate a more comprehensive appropriations agreement.

The vote came as senators were preparing to depart for the August recess, adding urgency to the final push to secure enough support for passage. The bill had faced uncertainty in its final hours, with debate over spending levels and policy riders attached to the legislation.

Government shutdowns can furlough hundreds of thousands of federal workers, suspend public services, and disrupt payments to contractors and benefit recipients. Congressional leaders from both parties had cited the economic disruption of a shutdown as a key motivation for reaching agreement before the recess.

The passage of a stopgap measure, rather than a full-year funding bill, means lawmakers will face the same budget negotiations again when the extension expires. Appropriators will be under pressure to resolve outstanding differences on discretionary spending levels and contentious policy provisions before the next deadline.