This undated file photo provided by the U.S. Attorneys Office for Utah and introduced as evidence at a trial shows fentanyl-laced fake oxycodone pills collected during an investigation. Accidental overdoses contribute to 90 percent of all U.S. opioid-related deaths. Rising use of illicitly manufactured and highly potent synthetic opioids including fentanyl has likely contributed to the unintentional death rate, which surged nine-fold between 2000 and 2017, the study found. Credit: Uncredited | AP

CONCORD, N.H. — A man was sentenced to at least five years in prison in New Hampshire for giving fentanyl to another man who took the drug and suffered a fatal overdose.

Justin Stripp, 39, pleaded guilty Tuesday to the charge in Carroll County in connection to the death of Lucas Shackford, 23.

Stripp was accused of giving Shackford the fentanyl in 2018.

Stripp’s initial sentence was seven to 14 years in prison, with two years suspended from the minimum term. The attorney general’s office said Stripp will have a chance to earn another year off the minimum if certain conditions are met.