Congress gave final approval Tuesday to a sweeping overhaul of a broad range of federal farm and nutrition policies affecting what farmers grow, how food is packaged and sold and how the government helps poor people pay for their groceries.

The Senate voted 68 to 32 Tuesday afternoon to approve a new, five-year farm bill that the House passed last week. The measure heads next to President Obama, who is expected to sign it in the coming days.

After nearly four years of haggling between Democrats and Republicans, the $956.4 billion package was unveiled last week and sailed through Congress in just a matter of days.