A former Concord police officer agreed to leave law enforcement for good after pleading guilty to violating the state’s Driver Privacy Act Thursday.

In a negotiated agreement, Michael Kosa, 32, of Manchester, pleaded guilty Thursday in 6th Circuit Court, Concord, in a negotiated plea to two counts of violating the Records and Certification law, according to a news release from the Attorney General’s Office.