House Speaker Nancy Pelosi said Tuesday that she and Treasury Secretary Steven Mnuchin have reached an agreement, addressing concerns regarding a government shutdown at the end of the month. As part of the deal, they have agreed to fund the U.S. federal government until Dec.

Coming days after discussions between Democrats and Republicans, and failing to reach a deal over the stopgap funding measure, the bipartisan accord would bankroll the government through Dec. 11.  Soon after it was announced, Members of the House approved the deal by 359-57, with one member voting present.

Identifying the lack of an agreement, a senior House Democratic aide warned that the bill is likely to get stuck in the Senate after House passage and end up creating a dead-end, leading up to the deadline at the end of the month. Senate Majority Leader Mitch McConnell explained on Monday that the Commodity Credit Corporation was important for GOP support.

As part of the agreement, tens of billions will be doled out in funds for the Commodity Credit Corporation, which is a priority for bipartisan members from agricultural states and districts and Republicans since it will provide much-needed aid to farmers. This aid has some restrictions after Democrats accused the Trump administration of using the money to distribute funds only to political interests that it endorses.

Aside from that, the measure comprises about $8 billion in nutrition assistance, which was one of the central Democratic priorities at the time of negotiations. In her statement, Pelosi said Tuesday that they have reached a deal with Republicans on the continuing resolution to include about $8 billion in much-needed nutrition assistance for hungry families and children, CNN reported.

She went on to say that they increased accountability in the Commodity Credit Corporation, ensuring that the funds for farmers are not misused for a Big Oil bailout. Following the negotiation break down, Democrats drafted a stop-gap measure, leaving nutrition assistance and farm aid initially and was slated to vote on the measure on Tuesday.

But the threat of moving the measure without bipartisan agreement, along with the possibility that Democrats from agriculture centric districts would defect, served to increase the risk of a government shutdown considering the narrowing timeline before the Sept. 30 government funding deadline. Returning to the table, both sides reached a deal throughout the course of the day.

The Senate is likely to take up the legislation shortly. Identifying the lack of an agreement.