Deputy clerk retires after 17 years service