Jim Hart, who served as Santa Cruz County’s elected sheriff for three terms as part of a 36-year career with the agency, officially retired from office Friday, with two years remaining on his term.