Months after , more details about his fatal ketamine overdose are coming to light. The "Friends" star had been prior to his death in October 2023 to treat his depression and anxiety. But the doses of the drug administered as part of the therapy are not what killed him, .

He had also been using the drug unsupervised and had become addicted, according to prosecutors. in connection with Perry's death, including his personal assistant, two doctors and . Ketamine is a popular party drug, which has psychedelic effects and is used for medical purposes as an anesthetic.

Perry had been candid over the years about his health, including his struggles with addiction and related health concerns. Here’s what we know about Perry’s health history prior to his ketamine overdose and death. was acute effects of ketamine, according to the Los Angeles County Medical Examiner’s Office.

“Contributing factors in Mr. Perry’s death include drowning, coronary artery disease and the effects of buprenorphine (used to treat opioid use disorder). The manner of death is accident,” the Los Angeles County Medical Examiner’s Office said in a statement.

The amount of ketamine he had in his system was equivalent to the same amount used for general anesthesia before surgery, according to the medical examiner's office. The actor was found at his home in Pacific Palisades after an apparent drowning on Oct. 28, 2023.

Two law enforcement officers told NBC News that there was no sign of foul play. Perry .