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
Shailene Woodley and the stars of "Divergent" chat phobias and on-set injuries at the film's world premiere.Watch Video »
Tats for Love
From Heidi Klum and Seal to Ryan Sweeting and Kaley Cuoco, see which stars got tattoos for love.Watch Video »
Zoe's Cute Family
Check out Zoe Saldana and husband Marco Perego's cutest family moments!Watch Video »
From the once seemingly aloof bachelor to the now ever-adoring husband, check out George Clooney's transformation.Watch Video »
Katy Perry, Rosie Huntington-Whiteley, and Lady Gaga all get an F on this week's Fashion OffendersWatch Video »
Chrissy Teigen cries over cheese, plus more of her funniest Instagram moments.Watch Video »