A bill approved Thursday by the state Senate will give Oregon livestock producers the ability to protect herds from predatory wolves.

Ranchers, animal welfare advocates and the state worked together on the bill. Ranchers sought to protect cattle from wolf attacks while advocates wanted to protect the endangered species as it continues to grow in the state.

The Daily Journal reports the bill unanimously passed by a vote of 30-0 and Gov. John Kitzhaber is expected to approve the bill as soon as the Oregon Fish and Wildlife Commission approves other provisions of a settlement between conservation groups and cattle ranchers.