Ted Edmunds was sentenced to 5 years in state prison in Ontario County Court after he sold cocaine and heroin to a wired confidential informant in the parking lot of a Canandaigua motel. In the agreed upon deal Edmunds will serve 5 years in state prison.

CANANDAIGUA — An Ontario County Court judge sentenced a Rochester man to state prison for the sale of drugs to a wired confidential informant as the Ontario County Sheriff's Office listened in.

On Friday, Ted Edmunds, 40, was sentenced to a five-year determinate sentence by Ontario County Judge Frederick Reed after he pleaded to two counts each of third-degree criminal sale of a controlled substance and third-degree criminal possession of a controlled substance.

During Edmunds' sentencing it was revealed that the confidential informant met up with him wearing a wire at the Canandaigua Super 8 hotel parking lot as Ontario County deputies listened in on the transaction. The confidential informant initially purchased heroin and what was thought to be fentanyl, but after lab tests came back it turned out to be heroin and cocaine.

"You've got a terrible record including crimes and robberies," Reed said at sentencing. "You don't strike me as a punk, though. You're getting a big break today. You have to be able to provide for your family and children in an honest way."

Edmunds told the judge that he headed down the wrong road after his parents died when he was 14 years old.

"I felt like I had to make a choice. Obviously, I made the wrong choice," Edmunds said when referring to his criminal past.

Ontario County Assistant District Attorney Zachary Maurer prosecuted the case.