A Hudson Valley man will serve over 20 years in prison for selling heroin that lead to the death of a local man.

In June, 23-year-old Terrence Johnson of Sullivan County, plead guilty to distributing a mixture of heroin and fentanyl that resulted in the overdose death of 35-year-old Malcolm Perry of Liberty.

Johnson also plead guilty 10  counts of selling heroin, fentanyl, and cocaine.

Officials say Johnson conspired to distribute at least 100 grams of heroin and at least 280 grams of crack cocaine.

According to the allegations in the indictment, on a number of occasions between May 28, 2015, and June 6, 2015, Johnson sold heroin mixed with fentanyl in Sullivan County. Fentanyl is a synthetic opioid that is significantly stronger than both ordinary heroin and morphine.

Several customers who purchased the dangerous mixture from Johnson overdosed and required emergency medical attention.

Around June 1, 2015, Perry overdosed and died of acute fentanyl intoxication as a result of using drugs sold by Johnson.

Johnson faced 20 years to life in prison. On Monday in Southern District of New York Court, the 23-year-old was sentenced to 21 years in state prison.

“Even after learning that his fentanyl-laced heroin had sent customers to the emergency room, Terrence Johnson continued to sell his poisonous blend, ultimately causing the tragic death of Malcolm Perry,” U.S. Attorney Preet Bharara stated. “For his callous crime, Johnson has received an appropriately severe sentence. Drug dealers who peddle deadly poison across our District should understand, if they sell opioids that kill, serious consequences await them.”