Wings bags of cash L

Wings bags of cash R

Suspect charged in death of XXXTentacion

Suspect charged in death of XXXTentacion.jpg

XXXTentacion performs during the second day of the Rolling Loud Festival in downtown Miami on Saturday, May 6, 2017. Photo by Matias J. Ocner/Miami Herald/TNS/ABACAPRESS.COM

A man has been arrested and charged with murder in connection with the death of up-and-coming US rapper XXXTentacion, who was gunned down in Florida.

Dedrick Williams, 22, was taken into custody on Wednesday evening, two days after XXXTentacion, whose real name was Jahseh Dwayne Onfroy, was shot while leaving a motor sports dealership in Deerfield Beach, about 64km north of Miami.

The death of the 20-year-old rapper stunned the hip hop community and sparked tributes online.

Two men fled the scene in a dark SUV after one of them opened fire during a possible robbery attempt, investigators had said. It was not immediately clear if police were looking for a second suspect.

XXXTentacion, who was born and raised in Plantation, Florida, released his debut album in August 2017. His second album "?" debuted at No.1 on the Billboard 200 album chart when it was released in March.

According to local media reports, he had spent time in jail and was awaiting trial on allegations of domestic violence against his pregnant girlfriend.

Police said Williams was also charged with probation violation for theft of a motor vehicle and driving without a valid licence. He was awaiting trial on Thursday.

fans and mourners of rap singer XXXTentacion.jpg

In this Tuesday, June 19, 2018, photo, fans and mourners of rap singer XXXTentacion gather for a memorial outside Riva Motorsports in Deerfield Beach, Fla., where the troubled rapper-singer was killed the day before. (John McCall/South Florida Sun-Sentinel via AP)

© RAW 2018