Raynardo Gonzalez, 52, of River Grove.

A man has been charged with selling drugs that caused the fatal overdoses of two men in McHenry County, court records show.

Raynardo Gonzalez, 52, of River Grove, was charged with two counts of drug-induced homicide, a Class X felony.

A criminal complaint filed in McHenry County Circuit Court alleges Gonzalez delivered heroin to Nicholas Torres, 47, and Jason D. Schultz, 50, on August 27.

Torres was found unconscious in his home on August 28 and transported to a hospital where he later died, according to Assistant State’s Attorney Ken Hudson.

Schultz was found dead in his home on the same day.

Online messages between Torres and Schultz, both Harvard residents, show that they arranged for Torres to purchase drugs from another man, identified as Gonzalez, Hudson said.

Schultz’s death was ruled to be caused by heroin and ethanol. The coroner ruled Torres’ death to be caused by heroin toxicity.

[Suggested Article]  'Heartbroken is an understatement': 30-year-old father identified after being killed in head-on crash in Grayslake

Gonzalez had been charged in 2018 in Cook County with possession of heroin with intent to deliver but pleaded guilty to a reduced charged of possession of a controlled substance. He was sentenced to three years in prison.

Gonzalez was arrested last weekend after a warrant had been issued for him late last month.

Gonzalez remains held in the McHenry County Jail on a $250,000 bond.

He would need to post $25,000 cash to be released and is scheduled to appear in court on January 6 for a preliminary hearing.