A Monroeville man whose fentanyl killed a user three years ago will spend more than a dozen years in federal prison for it.

U.S. District Judge Joy Flowers Conti on Thursday imposed a term of 151 months on Ryan Williams, 31.

Williams was indicted in 2017 on counts of dealing drugs that killed a user and possession of a gun by a felon. He pleaded guilty to both this summer.

Williams admitted that he sold the fentanyl that killed Michael Moeller, 32, of McCandless, who died of an overdose on Nov. 23, 2016. He also admitted that he had a pistol and isn't allowed to have one because of a prior criminal record.

As is common in overdose death cases, the judge also ordered that Williams pay restitution for Mr. Moeller's funeral costs, which came to $12,185.