Senate leaders reached a bipartisan funding agreement on Monday to avert a government shutdown, clearing one of the most significant legislative hurdles of the current session. The deal came as lawmakers faced a deadline that, if missed, would have halted a range of federal operations during an active campaign period.

The agreement reflects negotiations between Senate leadership on both sides of the aisle, who were under pressure to demonstrate Congress could function despite a charged political environment. Details of the specific spending levels and policy riders included in the measure were being finalized as the deal was announced.

A government shutdown during campaign season carried heightened political risk for members of both parties seeking reelection, providing added incentive to reach a compromise. Congressional leaders have historically sought to avoid shutdowns in election years, as the disruption to federal workers and services tends to draw public criticism regardless of which party is seen as responsible.

The deal still requires a formal vote to advance through both chambers before it can be sent to the president for signature. Leadership on both sides signaled confidence that the agreement had sufficient support to pass, though the timeline for floor votes had not been publicly confirmed as of Monday.