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.

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

A federal court later overturned the ordinance.

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