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
Single & Fabulous
Check out Kourtney Kardashian's fabulous life on social media in the wake of her breakup from Scott Disick on today's Celebs Gone Social.Watch Video »
Check out Jennifer Lopez's best ab moments!Watch Video »
Tom Cruise chats "Mission: Impossible - Rogue Nation" with Wonderwall.com.Watch Video »
Taylor Swift and her brother celebrate Easter with an epic egg hunt on today's Celebs Gone Social.Watch Video »
Watch this behind-the-scenes video of Seal and Heidi Klum's vow renewal.Watch Video »
DIY Celeb Makeup
We show you how to get Taylor Swift's blue eye shadow look on "DIY Celeb Makeup."Watch Video »