Any member who has served as a sheriff for at least 12 years and who served as a warden of a county correctional institution for at least ten years prior to his service as a sheriff may, upon application to the board, receive four years of prior service credit for such service as a warden.