When a newly elected or appointed sheriff assumes office, the incoming sheriff may not terminate the employment of any deputy sheriff covered by ss. 30.07130.079 for lawful off-duty political activity or for a discriminatory reason. The incoming sheriff may replace deputy sheriffs assigned to managerial, confidential, or policymaking positions or part-time deputy sheriffs.