MADISON, Wis. (AP) – The Wisconsin Assembly on Wednesday passed a Republican-drafted bill that would limit the legal liability of gun and ammunition manufacturers, a move that could protect them from big payouts as a result of a mass shooting.

Under the bill, no one could sue firearms or ammunition manufacturers for damages related to the design, marketing or illegal use of their products. People could still sue for breach of contract or death and damages resulting from a product design flaw.

“Lawsuits are a way to restrict our Second Amendment rights,” the bill’s sponsor, Republican Representative Gae Magnafici, said before the debate. “When a crime is committed, we should blame the criminal and not the weapon.”

Wednesday’s vote comes eight days after the families of nine victims of the Sandy Hook elementary school shooting won a $73 million settlement against Remington, which made the gun Adam Lanza used to kill 20 first graders and six educators at the school in 2012. The families argued that Remington should never have sold such a dangerous weapon to the public.

Gun rights groups said the settlement would have little effect on gun sales and gun manufacturers, who are shielded from liability under federal law.

The bill now returns to the Senate, which approved a nearly identical version in November. Democratic Gov. Tony Evers, who has pushed for gun control measures, is expected to veto it.

The legislature should focus on measures the public wants, such as universal background checks, rather than something that protects gunmakers, said Democratic Rep. Deb Andraca of Whitefish Bay.

“It’s time we stop protecting the gun industry and start protecting the people we are here to serve,” Andraca said.

Supporters of the bill include Wisconsin Gun Owners Inc. and the Firearm Industry Trade Association. They argue that the bill protects gun rights and the industry from politically motivated and frivolous lawsuits.

Opponents include the Wisconsin Anti-Violence Effort Educational Fund, which argues lawmakers who support the bill are pandering to the gun industry.

The Assembly passed it by a vote of 61 to 35, with all Republicans and Democratic Rep. Nick Milroy of the South Range in favor and all other Democrats against.