More details are emerging about DJ AM's final days. The New York Post reports that "just hours" before the well-liked record spinner (real name: Adam Goldstein) was found dead in his New York apartment, he had agreed to check into rehab.
RELATED: See more photos of DJ AM
According to the paper, the deejay, who died on Aug. 28 at the age of 36, had recently been "missing appointments and acting erratically," leading to fears that he had relapsed after several years of apparent sobriety.
Goldstein's inner circle grew so worried that his manager and his AA sponsor flew from Los Angeles to New York on Wednesday night to see him.
When they showed up at his apartment on Thursday morning, an "agitated" AM would only allow his sponsor to enter, and he "lit up a crack pipe and popped pills in front of his horrified pal."
Friends reportedly told police that Goldstein had assured his team that he would seek treatment at a rehab facility in California as soon as he fulfilled his commitment to play a gig on Friday night at the Palms Casino Resort in Las Vegas.
But the deejay, who survived a deadly plane crash less than a year ago and was said to suffer from a crippling fear of flying, didn't make his flight to Vegas. His concerned traveling companions called the police, who entered his apartment and found his body. A crack pipe and prescription pills were also purportedly discovered inside.
Toxicology tests are still being conducted, with the initial autopsy deemed inconclusive.
When asked for comment on the paper's report, AM's rep told People magazine, "As soon as his friends, representation and his AA sponsor learned that he relapsed, which was only a couple days before he passed away, they sprung into action to try and get him to agree to go to rehab."
Goldstein had been working with MTV on an upcoming drug intervention reality show called "Gone Too Far." The fate of the series has yet to be determined.
RELATED: Follow Wonderwall on Twitter
Check out Emma Stone, Emily Blunt, and Julianne Hough's style statements on this week's OMG Celeb Fashion hosted by Wonderwall's Kirby Kristen.Watch Video »
Behind the Scenes
Kendall Jenner and more stars share the best behind-the-scenes photos from the Cannes Film Festival on today's Celebs Gone Social.Watch Video »
Ryan Reynolds gets up close and personal with a tortoise, plus more of his best Instagram posts on today's Celebs Gone Social.Watch Video »
"#RichKids of Beverly Hills" star Roxy Sowlaty dishes about the new season, her friendship with the Kardashians and more with Wonderwall.com Editor Stacie AnthoWatch Video »
Sofia Vergara poses in a revealing neon bikini while her "Modern Family" castmates hit the beach in Australia on Celebs Gone Social.Watch Video »
"#RichKids" newcomer Taylor-Ann Hasselhoff dishes about the drama on the new season and about spending QT with her dad, David Hasselhoff!Watch Video »