CHICAGO (CBS)–With the support of labor unions, a new bill prohibiting municipalities in the state from enacting “right-to-work laws” was signed into law by Illinois Governor J.B. Pritzker last week.

The “Collective Bargaining Freedom Act” prohibits local right-to-work ordinances and imposes penalties for violations.

READ MORE: Chicago Weather: Rain Tapers Saturday Night, But More Scattered Showers Sunday

Right-to-work laws became a focus for state lawmakers after the village of Lincolnshire, a northern suburb of Chicago, passed one in 2015.

READ MORE: At Least 16 People Shot, 1 Killed In Gun Violence In Chicago This Weekend

A federal court later overturned the ordinance.

MORE NEWS: At Bond Hearing For Man Authorities Say Was With Him, Prosecutors Say 13-Year-Old Adam Toledo Had Gun In Hand When He Was Fatally Shot By Police

Right-to-work laws prohibit union contracts from requiring all workers to either join a union or pay dues.