Robert Pesante will serve eight years in prison and forfeit over $4,000 in cash, pay $2,700 in restitution and give up his 2009 Malibu after numerous sales of cocaine to undercover operatives in Ontario County.

CANANDAIGUA — A Geneva man will serve eight years in state prison for repeatedly selling cocaine, after a lengthy undercover operation led to his arrest.

Robert Pesante, 26, Wednesday pleaded guilty to five of the 14 counts filed against him by the Ontario County District Attorney’s Office, including second-degree criminal sale of a controlled substance, an A2 felony.

“We’ve got a drug problem, and sometimes the only way to deal with it is to lock up the people that are selling,” said Ontario County Assistant District Attorney Heather Hines, addressing the drug use in the county. “This was a result of a joint investigation between multiple law enforcement agencies in conjunction with the drug task force.”

Over four months, Pesante sold drugs to operatives across the county, and by the end had sold over 1 ounce of cocaine. He pleaded guilty to second-degree criminal sale of a controlled substance, three counts of third-degree criminal sale of a controlled substance and criminal possession of a controlled substance.

Based upon the terms of the deal Pesante also forfeits $4,178 in cash, $2,700 in restitution and his 2009 Chevy Malibu.

Pesante was released until sentencing by Ontario County Court Judge William Kocher. If Pesante violates any of the terms of his release while awaiting sentencing he faces a possible re-sentence of up to 30 years in state prison.