A deal aimed at ending the US government shutdown has passed the Senate, paving the way for the record-breaking impasse to be broken.

After a weekend of negotiations in Washington, a minority of Democrats joined Republicans to vote in favor of an agreement.

This vote represents a procedural first step towards passing a compromise funding arrangement since the government ran out of money on October 1.

Although the proposal now must clear several hurdles, including a vote from the House of Representatives, it is the first serious indication of progress after 40 days of deadlock.

The current shutdown is the longest on record in the US, and until this weekend, it seemed that Republican and Democratic lawmakers were locked in a stalemate

Since the shutdown, many government services have been suspended, affecting around 1.4 million federal employees who are either on unpaid leave or working without pay.

The shutdown has had wide-ranging impacts, including disruptions to US air travel and food benefits for 41 million low-income Americans.

The agreement was negotiated between Senate Majority Leader John Thune and the White House, with Democratic Senators Jeanne Shaheen, Maggie Hassan, and Angus King also involved.

Republicans needed to secure a 60-vote threshold to advance the measure, successfully attracting eight votes from Democrats while only losing one.

This deal includes a provision for a vote in December regarding the extension of healthcare subsidies that are set to expire, which is critical for many Democrats.

Thune expressed gratitude for the bipartisan effort, indicating the collaborative spirit among senators, but there are frustrations among some Democrats who feel the deal lacks sufficient guarantees on healthcare coverage.

The legislation incorporates three appropriations bills for sectors like veterans' affairs and agriculture, along with a continuing resolution to fund the government until January 30—suggesting the possibility of another shutdown early next year.

In summary, while the Senate's passing of the deal marks a hopeful development, the landscape ahead involves potential challenges in the House, and the unresolved issues regarding healthcare may loom large over upcoming negotiations.