During a Broward County court hearing on Thursday, surveillance footage of rapper XXXTentacion's murder came to light for the first time, according to TMZ.

In the footage, X can be seen walking to the motorcycle dealership in Deerfield Beach, Florida, where he was killed in June 18, as two suspects follow behind. Later, his BMW is stopped by two suspects with guns. X struggles with the attackers before they fire at him. The suspects then take off with a Louis Vuitton bag, reportedly filled with $50,000 in cash.

This video was played for the discovery and bail hearing for suspect Robert Allen, the third man arrested and charged for XXXTentacion's murder. Four men have been indicted, charged, and arrested for first degree murder with a firearm and armed robbery with a firearm. 

Prosecutors argue the alleged attack by Allen, Dedrick Devonshay Williams, Michael Boatwright, and Trayvon Newsome was premeditated. By August, all four suspects had been apprehended and pled not guilty. 

In June, Broward Sheriff Scott Israel called the incident a "tragic shooting,” vowing to “bring those who did it to justice." 

According to police documents, Boatwright and Newsome were both armed when they confronted XXX. Police believe it was Boatwright who ultimately discharged his weapon, killing 20-year-old Jahseh Onfroy. Earlier this month, Boatwright accused prosecutors of violating his 14th amendment rights to due process by withholding documents and information that would help his case.

The surveillance footage is embedded below.

Trigger warning for violent and disturbing content.