Florida Gov. Scott and the union that represents state workers are ending their legal battle over drug tests.

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.

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.

