SAN FRANCISCO, CA - FEBRUARY 07:  DJ Avicii performs onstage during Rolling Stone Live SF with Talent Resources on February 7, 2016 in San Francisco, California.  (Photo by Rich Polk/Getty Images for Rolling Stone)
Rich Polk/Getty Images North America/Getty Images for Rolling Stone
SAN FRANCISCO, CA - FEBRUARY 07: DJ Avicii performs onstage during Rolling Stone Live SF with Talent Resources on February 7, 2016 in San Francisco, California. (Photo by Rich Polk/Getty Images for Rolling Stone)
Now playing
01:08
Dance music DJ Avicii dead at 28 (2018)
Now playing
01:52
Chadwick Boseman's widow gives tearful speech at tribute
In this Feb. 14, 2018 photo, actor Chadwick Boseman poses for a portrait in New York to promote his film, "Black Panther."  Boseman, who played Black icons Jackie Robinson and James Brown before finding fame as the regal Black Panther in the Marvel cinematic universe, has died of cancer. His representative says Boseman died Friday, Aug. 28, 2020 in Los Angeles after a four-year battle with colon cancer. He was 43.
Victoria Will/AP
In this Feb. 14, 2018 photo, actor Chadwick Boseman poses for a portrait in New York to promote his film, "Black Panther." Boseman, who played Black icons Jackie Robinson and James Brown before finding fame as the regal Black Panther in the Marvel cinematic universe, has died of cancer. His representative says Boseman died Friday, Aug. 28, 2020 in Los Angeles after a four-year battle with colon cancer. He was 43.
Now playing
02:17
A look back at Chadwick Boseman's legacy
title: Chadwick Boseman's Howard University 2018 Commencement Speech  duration: 00:34:41  site: Youtube  author: null  published: Mon May 14 2018 10:29:12 GMT-0400 (EDT)  intervention: yes  description: Howard University alumnus Chadwick Boseman provides words of inspiration to the Class of 2018 during Howard University's 150th Commencement Ceremony on Saturday, May 12 in Washington, D.C.
Howard University/WHUT
title: Chadwick Boseman's Howard University 2018 Commencement Speech duration: 00:34:41 site: Youtube author: null published: Mon May 14 2018 10:29:12 GMT-0400 (EDT) intervention: yes description: Howard University alumnus Chadwick Boseman provides words of inspiration to the Class of 2018 during Howard University's 150th Commencement Ceremony on Saturday, May 12 in Washington, D.C.
Now playing
01:19
Chadwick Boseman gives 'Wakanda' salute at Howard graduation (2018)
SANTA MONICA, CA - JUNE 16:  James Shaw Jr. accepts award from Actor Chadwick Boseman onstage at the 2018 MTV Movie And TV Awards at Barker Hangar on June 16, 2018 in Santa Monica, California.  (Photo by Jeff Kravitz/FilmMagic)
Jeff Kravitz/FilmMagic, Inc/FilmMagic
SANTA MONICA, CA - JUNE 16: James Shaw Jr. accepts award from Actor Chadwick Boseman onstage at the 2018 MTV Movie And TV Awards at Barker Hangar on June 16, 2018 in Santa Monica, California. (Photo by Jeff Kravitz/FilmMagic)
Now playing
00:55
'Black Panther' star honors Waffle House hero
NBC/Broadway Video
Now playing
01:34
The Black Panther plays 'Jeopardy!' on 'SNL'
Now playing
01:50
Kids see themselves in 'Black Panther' heroes
English rock group the Baker Gurvitz Army in a studio, August 1974. Left to right: Paul Gurvitz, Ginger Baker and Adrian Gurvitz. (Photo by Michael Putland/Getty Images)
Michael Putland/Getty Images
English rock group the Baker Gurvitz Army in a studio, August 1974. Left to right: Paul Gurvitz, Ginger Baker and Adrian Gurvitz. (Photo by Michael Putland/Getty Images)
Now playing
01:35
Legendary drummer Ginger Baker dies aged 80
Courtesy Grants Pass Department of Public Safety
Now playing
00:44
Actor Charles Levin found dead
NEW YORK, NY - OCTOBER 18: Denise Nickerson who played Violet Beauregarde in the original film attends the 40th Anniversary of Willy Wonka & The Chocolate Factory at Jacques Torres Chocolates on October 18, 2011 in New York City. (Photo by Cindy Ord/Getty Images)
Cindy Ord/Getty Images
NEW YORK, NY - OCTOBER 18: Denise Nickerson who played Violet Beauregarde in the original film attends the 40th Anniversary of Willy Wonka & The Chocolate Factory at Jacques Torres Chocolates on October 18, 2011 in New York City. (Photo by Cindy Ord/Getty Images)
Now playing
01:18
'Willy Wonka & the Chocolate Factory' actress has died
SCRANTON, PENNSYLVANIA - Former Secretary of State Hillary Clinton, followed by her brother, Tony Rodham, stop at Casa Bella Italian Restaurant in Scranton, Pennsylvania on Friday evening April 22, 2016. Hillary Clinton's father was born in Scranton, and she has family in the area. (Photo by Melina Mara/The Washington Post via Getty Images)
The Washington Post/Getty Images
SCRANTON, PENNSYLVANIA - Former Secretary of State Hillary Clinton, followed by her brother, Tony Rodham, stop at Casa Bella Italian Restaurant in Scranton, Pennsylvania on Friday evening April 22, 2016. Hillary Clinton's father was born in Scranton, and she has family in the area. (Photo by Melina Mara/The Washington Post via Getty Images)
Now playing
00:30
Hillary Clinton's brother Tony Rodham dead at 65
GULFPORT, MS - JUNE 22:  U.S. Sen. Thad Cochran (R-MS) looks on during a campaign rally at Gulfport-Biloxi International Airport on June 22, 2014 in Gulfport, Mississippi.  Tea Party-backed Republican candidate for U.S. Senate Chris McDaniel, a Mississippi state senator, is locked in a tight runoff race with incumbent U.S. Sen. Thad Cochran (R-MS) who failed to win the nomination in the primary election.  (Photo by Justin Sullivan/Getty Images)
Justin Sullivan/Getty Images
GULFPORT, MS - JUNE 22: U.S. Sen. Thad Cochran (R-MS) looks on during a campaign rally at Gulfport-Biloxi International Airport on June 22, 2014 in Gulfport, Mississippi. Tea Party-backed Republican candidate for U.S. Senate Chris McDaniel, a Mississippi state senator, is locked in a tight runoff race with incumbent U.S. Sen. Thad Cochran (R-MS) who failed to win the nomination in the primary election. (Photo by Justin Sullivan/Getty Images)
Now playing
01:22
Longtime US Senator Thad Cochran dies at 81
Green Bay Packers Hall of Fame quarterback Bart Starr just before his retirement in 1972.
Vernon Biever/AP
Green Bay Packers Hall of Fame quarterback Bart Starr just before his retirement in 1972.
Now playing
01:00
Legendary quarterback Bart Starr passes away at 85
Niki Lauda celebrates after the Formula One Grand Prix of Great Britain at Silverstone on July 16, 2017 in Northampton, England.
Dan Mullan/Getty Images Europe/Getty Images
Niki Lauda celebrates after the Formula One Grand Prix of Great Britain at Silverstone on July 16, 2017 in Northampton, England.
Now playing
01:58
​​Niki Lauda: Three-time F1 champ dies aged 70​
LOS ANGELES, CA - SEPTEMBER 05:  Actor Tim Conway arrives at the Paley Center for Media and TV Land salute of "The Bob Newhart Show" at the Paley Center for Media on September 5, 2007 in Los Angeles, California.  (Photo by Michael Buckner/Getty Images)
Michael Buckner/Getty Images North America/Getty Images
LOS ANGELES, CA - SEPTEMBER 05: Actor Tim Conway arrives at the Paley Center for Media and TV Land salute of "The Bob Newhart Show" at the Paley Center for Media on September 5, 2007 in Los Angeles, California. (Photo by Michael Buckner/Getty Images)
Now playing
03:07
Tim Conway of 'The Carol Burnett Show' dead at 85
(CNN) —  

Grammy nominated Swedish DJ Avicii died Friday, his publicist confirmed to CNN.

He was 28.

“It is with profound sorrow that we announce the loss of Tim Bergling, also known as Avicii,” a statement to CNN read. “He was found dead in Muscat, Oman this Friday afternoon local time, April 20th. The family is devastated and we ask everyone to please respect their need for privacy in this difficult time. No further statements will be given.”

Avicii was one of the most successful touring DJs in the industry, working with artists including Madonna. He had a crossover pop hit in 2013 with “Wake Me Up.”

But he also saw the downside of fame in the electronic dance music genre known as EDM.

“It’s very easy to become too attached to partying,” he told Rolling Stone last year. “You become lonely and get anxieties. It becomes toxic.”

He retired from performing in 2016 after a string of health issues, including acute pancreatitis.

Avicii told Time in 2013 that the illness was caused by excessive drinking.

“Yeah I was drinking way too much, partying in general way too much,” he said. “Then I got a pancreatitis attack [at 21], which is very rare. So that forced me to do a 180 and stop drinking.”

The DJ explained in a 2017 posting on his site that he had no intention of giving up music completely, writing “We all reach a point in our lives and careers where we understand what matters the most to us.”

“For me it’s creating music,” he wrote. “That is what I live for, what I feel I was born to do.”

Avicii also wrote that he was heading back into the studio to make more art.

“The next stage will be all about my love of making music to you guys. It is the beginning of something new,” his posting said. “Hope you´ll enjoy it as much as I do.”

The social media tributes from fellow musicians and artists poured in as soon as the news broke on Friday afternoon. Some tweets have been shared thousands of times.

Singer Wyclef Jean described him as “a little brother.”