After clearing both the House and Senate, a budget deal, which excludes an initial plan to slash $3 billion from the crop insurance program, is now headed to President Barack Obama.

Earlier in the week, top members of the House and Senate Agriculture committees joined industry organizations in expressing their outrage at cuts to crop insurance originally included in the deal. Lawmakers said they weren’t notified of the cut before the deal was struck, leading to anger and outrage from those representing agricultural states. Read, “Budget deal trims crop insurance.”

It appears that the pending crisis has now been averted. Rep. Collin Peterson, D-Minn., ranking member of the House Agriculture Committee, released a statement supporting the deal.

“I'm pleased that we have an agreement to fix the crop insurance cuts and not open the farm bill. We have assurances that the cuts will be removed and the farm bill will not be raided,” he said in a statement here. “We produced a fiscally responsible and bipartisan farm bill in 2014 that saved $23 billion. We've done our part. I can now support the budget agreement with these assurances.”

According to CNN, the bill cleared the Senate early morning having already passed by the House. It prevents a U.S. default next week and lowers the risk of a government shutdown in December.

For more about the deal, click here.