HARRISBURG (AP) — A bill on its way to Gov. Tom Corbett’s desk would prevent the Pennsylvania Game Commission from confiscating swine from private land and allow swine-hunting preserves to operate under the Department of Agriculture’s rules.

The Senate approved the bill, 32-16, on Thursday. It passed the House earlier in the week. The bill’s sponsor, Senate President Pro Tempore Joe Scarnati, said the future of two private hunting preserves in his northern Pennsylvania district was at stake.

The game commission had argued that swine, or wild boars, are dangerous if they escape, and can multiply quickly in the wild. Critics say they pose a threat to wildlife, farm animals and crops.

To address some those concerns, the bill requires male swine to be sterilized before they are released onto a hunting preserve.