LOS ANGELES (AP) — Matthew Perry’s live-in personal assistant, who had a central role in the “Friends” star’s descent into ketamine addiction and injected him with the fatal dose of the drug, was sentenced Wednesday to three years and five months in prison.

Judge Sherilyn Peace Garnett handed down the sentence to 60-year-old Kenneth Iwamasa in federal court in Los Angeles. He was also sentenced to two years of probation and a $10,000 fine.

It was the fifth and final sentencing in the 2 1/2-year investigation and prosecution that followed Perry’s death at age 54 on Oct. 28, 2023.

“You were privy to his struggle with addiction,” Judge Garnett said before handing down the sentence. “Your conduct was reckless, not just on the day of his death but in the days leading up to his death.”

The sentence was exactly what prosecutors had sought, though Garnett disagreed on some of the details. She found that Iwamasa did not abuse a position of trust, which could’ve brought more prison time.