The Senate is expected to vote for a temporary spending bill next week, which has passed the House of Representatives, helping avoid a possible government shutdown at the end of this month.

In a vote on Thursday, Sept. 21, the House passed the short-term bill by a wide bipartisan margin, 301 to 123, Fox News reported.

All but three Democrats voted to support the measure, meaning the bill could have passed the House without any Republican “yea” votes.

The bill, if enacted, would help avert a government shutdown at the end of September and keep the government funded through Nov. 21, while lawmakers would have time to negotiate and approve $1.4 trillion for federal agencies.

According to The Hill, before the measure was approval by the House, it was unexpectedly pulled from the House Rules Committee due to a lack of consensus on provisions including health care funding extensions and aid to farmers suffering from the trade war with China.

The final bill was released on Wednesday evening after bipartisan, bicameral negotiators reached a deal on the provisions, which require the Department of Agriculture to provide state-by-state data on the effects of the U.S.-China trade war, and extends funding for health programs, including community health centers and Medicaid coverage in U.S. territories.