BOISE -- A new, nearly $1 trillion farm bill is headed to President Obama's desk.
The U.S. Senate approved the bill Tuesday afternoon. It passed the House of Representatives last week.
It covers national farm and food stamp policy for the next five years.
Most of the funding in the bill goes to the Supplemental Nutrition Assistance Program, you probably know it as SNAP or food stamps.
The bill reduces funding for SNAP by one percent, and steps up efforts to crack down on fraud.
Many farmers will continue to receive subsidies, but they won't receive money from the federal government unless they suffer losses.
Idaho Sens. Mike Crapo and Jim Risch voted for the bill, and it passed easily.
Idaho Reps. Raul Labrador and Mike Simpson voted for the bill last week in the House.
So why did it take so long, more than two years, to get a deal hammered out?
It was the debate over food stamps.
Farmers here in Idaho and across the country have entered into their growing seasons wondering if the current agricultural rules and regulations would change all of a sudden when a bill did finally get passed.
The bill's passage means that farmers will continue to get federal subsidies to help them stay in business in an unpredictable environment.
And even though they need to have losses before they can collect, the legislation also spends about $570 million more a year on crop insurance, so farmers get a bigger safety net.
Most of the bill's almost $100 billion-a-year price tag goes to the nation's food stamp program, which was cut by one percent.
The Idaho Farm Bureau says the battle over that cut is what held this up for so long.
"The Senate wanted just a little bit of a cut. The House wanted a big cut and so they really had to work that out. They compromised," said Russ Hendricks, Idaho Farm Bureau Federation, Director of Governmental Affairs. "It was a little bigger than the Senate wanted and a lot less than the House wanted, but in the end they came together and got it done."
"Not everybody got everything they wanted, but it's finally just getting a road atlas and a map to work with," said Mark Trupp, who produces malt barley and winter wheat in eastern Idaho.
Crapo said it was a great day, but added the food stamp element should have had more scrutiny.
The president has indicated that he will sign the farm bill.