MONTEREY (CBS / AP) – Voters in an oil-producing county in California have cracked down on fracking and new oil-well drilling.

Monterey County voters adopted a ballot measure Tuesday that will phase out new oil drilling and ban fracking.

READ MORE: In Reversal, San Jose Unified School District Poised To Allow Police Officers Back On Campuses

Oil companies had helped raise more than $5 million against the measure. Bernie Sanders and actor Leonardo DiCaprio were among those campaigning for the Monterey County fracking ban.

READ MORE: UPDATE: San Francisco Easing Some Indoor COVID Masking Requirements Feb. 1

Monterey County is the state’s fourth-biggest oil-producing county. It’s the seventh county in California to ban fracking.

MORE NEWS: 49ers Playoffs: Fans Become Targets Of Ticket Scammers Ahead Of NFC Championship

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.