June 16 (UPI) -- A doctor, accused of providing ketamine to "Friends" star Matthew Perry, has agreed to plead guilty in connection with the actor's death, according to court documents filed Monday.

Dr. Salvador Plasencia is expected to plead guilty to four counts of distribution of ketamine, per the plea agreement. The Santa Monica, Calif., physician could face up to 40 years in federal prison, while the recommended sentence in the agreement is somewhere between 15 and 21 months.

Plasencia, who is expected to enter his plea in the next few weeks, was one of five people charged in connection with Perry's ketamine death in October 2023. Perry, 54, was found unresponsive in a hot tub at his Pacific Palisades home.

Plasencia would not be the first to plead guilty in connection with Perry's death. A second doctor charged in the case, Dr. Mark Chavez, previously agreed to a plea deal.

Related