WASHINGTON — The Senate on Tuesday approved the biggest overhaul to the nation’s food safety laws since the 1930s. The 73-to-25 vote gives vast new authorities to the Food and Drug Administration, places new responsibilities on farmers and food companies to prevent contamination, and – for the first time – sets safety standards for imported foods, a growing part of the American diet.

The legislation follows a spate of national outbreaks of food poisoning in which thousands of people were sickened and more than a dozen died.

The measure passed with support from Democrats and Republicans, one of the few pieces of legislation to bridge differences in an otherwise sharply divided body.

Both of Maine’s senators, Republicans Olympia Snowe and Susan Collins, voted in favor of the measure.

The House approved a more stringent version of the bill more than a year ago.

“It’s an unusual and shining example of how bipartisanship can work in Congress,” said Erik Olson, director of the Pew Health Group food programs, which led a coalition of consumer groups that backed the bill.

House leaders have indicated that they would accept the Senate version of the bill to avoid the time-consuming conference process and quickly send the legislation to President Obama’s desk. Proponents hope to have it signed into law by the end of the session.

For Jeff Almer, whose mother, Shirley, died in 2008 after eating peanut butter contaminated with salmonella, the Senate vote came as a salve to a family still in mourning.

“I think about her every day,” said Almer, a Minnesota resident who has traveled to Washington six times to lobby for the passage of the bill.

Food illnesses affect one in four Americans and kill 5,000 of them each year, according to government statistics.

Tainted food has cost the industry billions of dollars in recalls, lost sales and legal expenses.

The bill places greater responsibility on manufacturers and farmers to prevent contamination – a departure from the current system, which relies on government inspectors to catch contamination after the fact.

The measure also gives the FDA authority to recall food. And it gives the FDA access to internal records at farms and food production facilities.

The bill sets standards for imported foods, requiring importers to verify that products grown and processed overseas meet safety standards.