DENVER (AP) - Colorado Gov. Jared Polis has signed a bill overhauling oil and gas regulations, shifting the focus from encouraging production to protecting public safety and the environment.

Polis signed SB 19-181 into law on Tuesday afternoon. 

Supporters say it brings much-needed protection to Colorado's booming population and the environment.

Opponents say the law will stifle a major industry and kill jobs. Efforts are already underway to overturn it and recall a lawmaker who voted for it.

RELATED: Colorado Senate passes oil and gas bill; Legislation moves to governor's desk for signing

RELATED: Colorado lawmakers OK'd new oil and gas regulations. What's next?

Oil and gas drilling is contentious in Colorado, which ranks fifth nationally in crude oil production and sixth in natural gas.

The industry says it contributes $32 billion annually to the state economy and supports 89,000 jobs.

But fast-growing Colorado communities are spilling into oil and gas areas, sparking complaints about noise, pollution and safety. 

RELATED: The bills we're watching in the 2019 Colorado Legislature

RELATED: Truth testing oil and gas ads as Colorado legislature considers new rules

RELATED: The proposed changes to Colorado oil and gas regulations: Regulate wells, protect public health

RELATED: 'Health and safety must come first': Colorado bill would change focus of state's oil and gas industry regulation

SUGGESTED VIDEOS | Local stories from 9NEWS