Raymond A. Landry, 36, of Cary.

A Cary man has been sentenced to 7 years in prison after being arrested for selling cocaine on numerous occasions to a confidential informant, prosecutors said.

Raymond A. Landry, 36, of the 7300 block of Hickory Nut Grove Road in Cary, was originally charged with six counts of unlawful delivery of cocaine and five counts of unlawful possession of cocaine.

On Monday, Landry took a plea deal offered by prosecutors and pleaded guilty to a single count of unlawful delivery of cocaine between 1-15 grams, which is a Class 1 felony.

McHenry County Judge Michael Coppedge sentenced Landry to seven years in the Illinois Department of Corrections. The man will also have to pay $3,614 in court costs and fines.

The Illinois State Police North Central Narcotics Task Force conducted a several-month investigation into Landry before charges were filed in April 2018.

[Suggested Article]  Sheriff's office, police departments celebrate opening of 'state of the art' law enforcement training center in Cary

Landry sold cocaine to a confidential informant on four different occasions in late 2017 and at least once in January 2018, according to court documents.

The case was prosecuted by Brian Miller of the McHenry County State’s Attorney’s Office.