A California Department of Corrections officer pleaded no contest Friday to stalking a former girlfriend and was sentenced to a year in county jail.

Deputy District Attorney Natalie Adomian of the Justice System Integrity Division said 41-year-old Xavier Lorenzo Renteria also was placed on three year’s formal probation and ordered to pay the victim $4,250 in restitution.

Superior Court Commissioner Kristi Lousteau issued a 10-year restraining order prohibiting Renteria from having contact with the victim.

Renteria was arrested in February by investigators with the Sheriff’s Lancaster Detective Bureau. Besides stalking, the defendant was charged with residential burglary, making criminal threats and vandalism. The other counts were dismissed as part of a negotiated settlement of the case after the defendant pleaded no contest to the felony stalking charge.

Authorities said Renteria had a dating relationship with the victim, who broke it off in December 2011. The felony criminal complaint alleged the various crimes occurred between Dec. 1, 2011, and Feb. 8, 2012.