Former deputy sues, alleging he was forced to resign