TALLAHASSEE (CBSMiami) – The Florida Supreme Court voted Thursday to uphold a law requiring public employees to contribute three percent of their income to the state’s pension plan.

The court voted 4-3 in favor of reversing a trial judge’s ruling that stated the law violated the collective bargaining and contract rights of roughly 600,000 state employees including teachers, state, and county employees and some city workers.

READ MORE: Seminoles Suspend Sports Betting After Court Rulings

The ruling serves as vindication for the law pushed by the GOP-led legislature and signed into law by Governor Rick Scott. The law helped fill a $2 billion budget gap state and local governments that would have had to replace funds contributed by employees since the law went into effect in 2011.

READ MORE: 23rd Annual 'A Home For The Holidays At The Grove' Comes To CBS On Sunday, December 5th

The Florida Education Association and other public unions challenged the law.

MORE NEWS: Sharp Increase In Hospitalized Children With Covid Investigated In South Africa

(TM and © Copyright 2013 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2013 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)