Mac Miller, the Pittsburgh rapper and ex-boyfriend of Ariana Grande, has died following an apparent drug overdose, TMZ first reported Friday. He was 26.

The website reported that police responded to a 911 call to Miller’s home around noon Friday, where they found a deceased male. He was pronounced dead at the scene.

Miller ( born Malcolm James McCormick) has struggled with substance abuse for a long time, most recently coming to light after his breakup with Grande.

In May, Grande tweeted about their volatile relationship, saying, in part: “I have cared for him and tried to support his sobriety & prayed for his balance for years (and always will of course) but shaming / blaming women for a man’s inability to keep his s— together is a very major problem. let’s please stop doing that. … Of course I didn’t share about how hard or scary it was while it was happening but it was. I will continue to pray from the bottom of my heart that he figures it all out and that any other woman in this position does as well.”

(FILES) In this file photo taken on June 03, 2016 Mac Miller performs at the Governors Ball Music Festival, in New York. - Mac Miller, the troubled rapper who won fans with his retro hip-hop but generated uncomfortable attention with songs on ex-girlfriend Ariana Grande and Donald Trump, died Friday September 7, 2018, at age 26, reports said. (Photo by Bryan R. Smith / AFP)BRYAN R. SMITH/AFP/Getty Images

In this file photo taken on June 03, 2016 Mac Miller performs at the Governors Ball Music Festival, in New York.  Miller, the troubled rapper who won fans with his retro hip-hop but generated uncomfortable attention with songs on ex-girlfriend Ariana Grande and Donald Trump, died Friday September 7, 2018, at age 26. | BRYAN R. SMITH/AFP/Getty Images

The couple had dated for nearly two years before Grande broke it off in May.

Earlier this summer, Miller was involved in a traffic incident in the San Fernando Valley area, fleeing the scene of the crash and later reportedly telling police he was driving drunk.

Miller was scheduled to play the Aragon Ballroom on Dec. 3. as part of his tour kicking off in October in support of his latest album “Swimming.”  He played Lollapalooza in 2016.

Miller starred in the reality series “Mac Miller and the Most Dope Family” for two seasons on MTV2, starting in 2013.

In a 2012 interview, Miller eerily discussed overdosing: