LOS ANGELES — A woman known as the “Ketamine Queen,” charged with selling Matthew Perry the drug that killed him, agreed to plead guilty Monday.

Jasveen Sangha becomes the fifth and final defendant charged in the overdose death of the “Friends” star to strike a plea agreement with federal prosecutors. Having initially pleaded not guilty, her change of plea means she’ll avoid a trial that had been planned for August.

Sangha agreed to plead guilty to one count of maintaining a drug-involved premises, three counts of distribution of ketamine, and one count of distribution of ketamine resulting in death or serious bodily injury.

Prosecutors had cast Sangha as a prolific drug dealer who was known to her customers as the “Ketamine Queen,” using the term often in press releases and court

See Full Page