The New York Farm Bureau in a statement lauded the bill’s safety net that “truly takes the diversity of New York agriculture into account like never before.”

It further calls the farm bill “important to rural economic development” for providing funding to “improve the state’s infrastructure to help increase marketing opportunities for farmers while at the same time opening up access to local food for people of all income levels.”

Many Republicans argued for deeper reductions while Democrats insisted on fewer cuts in food stamps. President Obama is expected to sign the legislation soon.

The farm bill was hung up for two years over disputes about subsidies, dairy pricing, crop insurance and the food stamp programs.