CONCORD, N.H. (AP) — A former New Hampshire police officer has pleaded guilty to running criminal records checks on stolen identities for someone who was the target of a drug-related investigation.

Joseph Cespedes was an officer in Manchester. Prosecutors said the 37-year-old was associating with someone in Lawrence, Massachusetts, and ran the records checks on certain stolen identities to determine whether they were clear of outstanding arrest warrants.

Prosecutors said when the records checks came back negative, Cespedes sold that information to the individual for $350 and a small quantity of cocaine.

Cespedes, who is scheduled to be sentenced on Nov. 4, faces up to three years in federal prison and a possible fine of $250,000.