The U.S. House has passed a long overdue farm bill, cutting food aid to the poor and direct subsidies to farmers.
Lawmakers had been debating the bill for months. Liberal Democrats objected to the cut in food stamps, while conservative Republicans wanted deeper cuts.
The bill also ends direct payments to farmers even if they do not grow any crops or make money when prices go up.
Those controversial payments are being replaced with a crop insurance program.
The farm bill now goes to the Senate for its likely approval. President Barack Obama has said he will sign it.