Police in Florida have arrested a man in connection to the death of rapper XXXTentacion, who was shot and killed in Deerfield Beach on Monday, according to sheriff’s deputies.

Broward Sheriff’s Office spokeswoman Gina Carter confirmed Thursday that Dedrick Williams, 22, was arrested in connection to the death of 20-year-old Jahseh Onfroy, better known by his stage name XXXTentacion.

Broward County Jail records show Williams was charged with first-degree murder without premeditation, among other charges. He was being held Thursday without bond at the Broward County Jail, according to the Palm Beach Post.

The newspaper reported that deputies pulled over Williams around 7 p.m. Wednesday in Pompano Beach. He was wanted on a warrant for driving with an invalid Florida license and a suspended ID, according to the Post. Broward County Jail records show Williams is on a felony probation.

Williams is believed to have had an "active part" in Onfroy's deaeth, deputies said in an arrest warrant obtained by the Post.

Onfroy was shot Monday outside a motorcycle dealership. Deputies said he was leaving RIVA Motorsports when he was approached by two armed people in an apparent robbery. At least one of them opened fire, hitting the rapper.

He was pronounced dead at a hospital.