The of Matthew Perry has revealed key details about the final days of the “Friends” star, most of them spent in the throes of an addiction to the . Perry would on Oct. 28 after telling his assistant to shoot him up “with a big one.

” Drawn from unsealed federal court documents and a medical examiner's investigation, here's a chronological look at the end of Perry's life. September 30 — Perry and his met at their home in the Pacific Palisades neighborhood of Los Angeles with Dr. Salvador Plasencia.

Perry had been receiving ketamine treatments for depression — an increasingly common off-label use — from his regular doctor, but wasn't able to get as much as he wanted. Plasencia texted a doctor friend in San Diego, Mark Chavez, who agreed to obtain ketamine for him. “I wonder how much this moron will pay,” Plasencia texted Chavez.

The two met up the same day in Costa Mesa, halfway between Los Angeles and San Diego and exchanged at least four vials of ketamine. Plasencia returned to Perry's house, where Iwamasa paid him $4,500 in cash for the vials. Plasencia gave Perry two injections of ketamine, and instructed Iwamasa on how to give the injections to the actor.

Plasencia texted Chavez that the experience “felt like a bad movie.” October 2 — Iwamasa texted Plasencia saying he wanted to buy not just injection sessions, but to be left with more vials of ketamine, referring to it in agreed-upon code as “dr pepper.” Plasencia appeared, gave Perry the inject.