Stone Temple Pilots frontman Scott Weiland died of mixed drug toxicity, according to the Hennepin County medical examiner's office.

As Entertainment Weekly reports, Weiland had cocaine, alcohol and MDA in his system when the 48-year-old died on tour with his band the Wildabouts on Dec. 3. According to the examiner's report, the musician's overdose was accidental.

Scott Weiland's ex-wife writes heartfelt essay: "Don't glorify this tragedy"

Weiland's struggles with substance abuse were well documented, including in his 2011 memoir Not Dead and Not for Sale. The Velvet Revolver singer's ex-wife Mary Forseberg Weiland, with whom he has two children, penned an emotional essay calling for fans not to romanticize rock stars' reckless behavior.

"Our hope for Scott has died, but there is still hope for others," she wrote. "Let's choose to make this the first time we don't glorify this tragedy with talk of rock and roll and the demons, that, by the way, don't have to come with it."