Follow CBSMIAMI.COM: Facebook | Twitter

TALLAHASSEE (CBSMiami/AP) — The legal battle over the drug testing of state workers has come to end.

READ MORE: Activists Say Hundreds Of Cuban Protesters Have Been Arrested Since Anti-Regime Demonstrations Broke Out

Florida Gov. Rick Scott in 2011 ordered random testing of roughly 85,000 state workers. The executive order was challenged by the union, and the testing was placed on hold.

The two sides on Monday asked a federal judge to approve a settlement in the case.

READ MORE: Broward County School Board Votes Unanimously To Make Mask Use Mandatory For Start Of School Year

The settlement would exempt most state employees from drug tests. It would also require the state to reimburse $375,000 to the American Federation of State, County and Municipal Employees.

An attorney for the American Civil Liberties Union of Florida said Scott is “finally conceding” that he has no authority to mandate drug testing of most employees.

Last year, the U.S. Supreme Court refused to hear an appeal on the case.

MORE NEWS: Teen's Death Investigation Continues After No Hazardous Materials Found In West Park Home

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 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.)