FORT LAUDERDALE, FL - MAY 26: Xxxtentacion visits iHeart radio Station 103.5 The Beat on May 26, 2017 in Fort Lauderdale, Florida. Credit: mpi04 / MediaPunch /IPX
MediaPunch/IPx/AP
FORT LAUDERDALE, FL - MAY 26: Xxxtentacion visits iHeart radio Station 103.5 The Beat on May 26, 2017 in Fort Lauderdale, Florida. Credit: mpi04 / MediaPunch /IPX
Now playing
01:04
Rapper XXXTentacion killed in apparent robbery
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 —  

Rapper XXXTentacion was shot and killed during an apparent robbery Monday in Broward County, Florida, police said.

The 20-year-old rapper, whose real name was Jahseh Onfroy, was leaving a motorsports store shortly before 4 p.m. when two men in a dark colored SUV shot and killed him in an apparent robbery, said Keyla Concepción, Broward County sheriff department public information officer.

Broward County deputies are actively looking for the two men and asking anyone who witnessed the shooting to come forward, Concepción said.

Rise to fame

XXXTentacion, a Plantation, Florida, native, rocketed to fame after his song “Look at Me” went viral on social media and audio distribution platform SoundCloud in 2016 according to CNN affiliate WSVN-TV.

He went on to be featured in XXL magazine’s 2017 Freshman Class alongside other up-and-coming artists.

His latest album “?” premiered at No. 1 when it was released in March, according to Billboard’s website. The album’s single “Sad!” peaked at No. 7 on the Billboard Hot 100 and spent 15 weeks on the charts, according to Billboard.

At the time of his death, he was awaiting trial for a domestic violence incident, court documents said. He was accused of punching his pregnant girlfriend “to where both eyes became shut and victim could not see,” according to a police report.

01:36 - Source: CNN
Child 'lynching' in video sparks backlash

And he had been under house arrest for a time while he awaited trial on battery and harassment charges. The house arrest was lifted in March, according to Miami-Dade court documents. He had pleaded not guilty to multiple felony counts, including witness tampering.

XXXTentacion also stirred controversy. His September 2017 music video for the viral hit “Look at Me” sparked backlash for staging a scene depicting XXXTentacion lynching a young white boy. The video also referenced flashpoints in the national debate on race such as the 1991 Rodney King beating, the lynching in Mississippi of 14-year-old Emmett Till in 1955, the 2014 Ferguson, Missouri riots, the police shooting of Philando Castile in Minnesota in 2016 and the 2017 Charlottesville, Virginia, violence.

At the end of the video, XXXTentacion spoke about violence and American youth.

“Are you willing to risk your child’s future due to your own bigotry? The choice is yours, but your child will not stand for the hate. This generation will be loved, nurtured, heard and understood.”

Celebrity reaction

When the news of XXXTentacion’s death hit, rappers took to social media.

Kanye West shared his condolences, saying “Rest in peace I never told you how much you inspired me when you were here thank you for existing.”

Juicy J also shared his thoughts in two short tweets saying “”Prayers up for @xxxtentacion” and “R.I.P. Xxxtentacion.”

Tyga, a California rapper signed to Lil Wayne’s Young Money Entertainment, said it’s “so sad to lose good artist” via Twitter.

Big Sean said on Twitter that his heart dropped when he heard about his fellow rapper’s death.

“I feel like we only got to see a glimpse of his artistry,” Big Sean said. “I didn’t know him personally but I respect how passionate he was about his music and message. Nobody deserves this kind of ending. gone too soon, damn! RIP.”

Rapper Tekashi 6ix9ine also took to Instagram to talk about XXXTentacion’s death in sometimes graphic language.

“Tomorrow’s not promised … you could be here today and be gone tomorrow,” he said. “X spread nothing but positivity.”

XXXTentacion’s death came on the same day that another young rapper, Jimmy Wopo, was fatally shot in Pittsburgh.

Clarification: Earlier versions of this story did not include that his house arrest status was lifted in March.

CNN’s Amanda Watts and Amanda Jackson contributed to this report.