Any agency of the state, or any county, municipality, or political subdivision of the state, is authorized to provide an attorney to defend any civil action arising from a complaint for damages or injury suffered as a result of any act or omission of action of any of its officers, employees, or agents for an act or omission arising out of and in the scope of his or her employment or function, unless, in the case of a tort action, the officer, employee, or agent acted in bad faith, with malicious purpose, or in a manner exhibiting wanton and willful disregard of human rights, safety, or property. Defense of such civil action includes, but is not limited to, any civil rights lawsuit seeking relief personally against the officer, employee, or agent for an act or omission under color of state law, custom, or usage, wherein it is alleged that such officer, employee, or agent has deprived another person of rights secured under the Federal Constitution or laws. Legal representation of an officer, employee, or agent of a state agency may be provided by the Department of Legal Affairs. However, any attorney's fees paid from public funds for any officer, employee, or agent who is found to be personally liable by virtue of acting outside the scope of his or her employment, or was acting in bad faith, with malicious purpose, or in a manner exhibiting wanton and willful disregard of human rights, safety, or property, may be recovered by the state, county, municipality, or political subdivision in a civil action against such officer, employee, or agent. If any agency of the state or any county, municipality, or political subdivision of the state is authorized pursuant to this section to provide an attorney to defend a civil action arising from a complaint for damages or injury suffered as a result of any act or omission of action of any of its officers, employees, or agents and fails to provide such attorney, such agency, county, municipality, or political subdivision shall reimburse any such defendant who prevails in the action for court costs and reasonable attorney's fees.
Fla. Stat. § 111.07