(2) Any person appointed undersheriff, deputy undersheriff or administrative aide to the sheriff, upon termination of such appointment, shall be reinstated in the person’s previous rank on the eligible list or in the person’s last held position at the salary rates prevailing for such positions on the date of resumption of duty, without loss of seniority or other employment rights and with service credit for the time served as undersheriff or deputy undersheriff. [1963 c.331 §11; 1981 c.48 §7]