Singer Courtney Love has pleaded guilty to a drugs charge in a plea deal that will see her enter a drug treatment programme.
Love will have to enter a drug treatment programme
Love, 39, had been charged in a Los Angeles court of being under the influence of cocaine and opiates.
She will escape a jail term if she completes the treatment. A charge of disorderly conduct was dropped.
The former Hole frontwoman still faces charges of drug possession stemming from an incident last October.
Those charges, to which she has pleaded not guilty, relate to prescription painkillers, oxycodone and hydrocodone, allegedly found by police in Love's Los Angeles home last October.
Both cases relate to her arrest in October 2003 after police said she damaged her ex-boyfriend's house in the middle of the night.
After being released on bail hours later, she was reportedly taken to hospital and treated for a suspected overdose.
Speaking outside the courthouse, prosecutor Jerry Baik said the terms of the deal would be outlined at a sentence hearing on 16 July.
Love, the widow of Nirvana frontman Kurt Cobain, also faces separate charges that she assaulted
a man in a New York nightclub.
She was arrested in March after allegedly injuring a man by throwing a microphone stand into the crowd during a gig in Manhattan.
A 24-year-old man received hospital treatment for head injuries.
She faces faces up to a year in jail if convicted. The court date is set for 28 June.
The troubled singer also recently lost custody of her daughter by Cobain, 11-year-old Frances Bean.
At the time of her arrest in New York she pleaded with police: "Please don't do this to me.... This incident will affect my custody case with my daughter. I'm not going to be able to get my kid."