A licensed drug addiction counsellor who delivered the ketamine doses that killed Matthew Perry was sentenced Wednesday to two years in prison.

Judge Sherilyn Peace Garnett handed down the sentence to Erik Fleming, 56, at a federal court in Los Angeles for his role in the "Friends" star's tragic 2023 death.

"It’s truly a nightmare I can’t wake up from," Fleming said in a deep, somber voice from the podium before his sentencing. "I’m haunted by the mistakes I made."

Fleming connected Perry to Jasveen Sangha - dubbed "The Ketamine Queen" by prosecutors - delivering drugs from her home to Perry's and marking them up for profit.

Sangha was sentenced last month to 15 years.