Boosie Badazz was arrested on Wednesday after his court appearance in an ongoing gun case, TMZ reported. The rapper was taken in by federal agents outside the courtroom.

TMZ, citing a spokesperson for the San Diego County District Attorney’s office, reported that Boosie’s gun case was dismissed. However, he had another ‘pending legal issue’.

Also read: Who is Ryan Koss? Honda SUV driver crashed into Treat Williams, causing his death at 71

The circumstances that led up to the arrest are currently not known. The rapper was arrested on May 6 during a traffic stop on Market Street in the Chollas View neighborhood. Two loaded handguns were found in his car.

The 40-year-old got out on a $50,000 bail. He pleaded not guilty and was cleared on Wednesday.

Also read: Who is Donald Smith? Steve Scalise says Donald Trump was indicted due to his name, gets trolled

Boosie Badazz was in attendance on the first day of YNW Melly’s double-murder trial. The opening statements started on Tuesday.

Melly is facing double murder charges for the shooting deaths of his friends YNW Juvy (Chris Thomas, 20) and YNW Sakchaser (Anthony Williams, 21) on October 26, 2018.

Badazz shared a video on social media of himself wearing a black shirt and red suit jacket walking through the courthouse.

Also Read: Who is Beth Moore? LifeWay questioned for publishing and promoting ‘false teacher’

“Boosie Badazz has been attending YNW Melly’s double murder trial in Florida, commenting in amazement at how the prosecution and defense teams are handling the legal proceedings in court,” a Twitter user said.

YNW Juvy’s father posted a video calling out those showing support for Melly.

Also Read: Where is John Kelly now? Trump’s former chief of staff says his ex-boss is ‘scared s**tless’ after indictment

“Man, everybody that’s saying free Melly,” he said, flashing his middle finger.

“That’s to you and your mama and your daddy and everybody that look like you. And that’s me, I said it. Y’all are bitches, man. Boosie down there supporting Melly — he flaw as fuck for that. He don’t even know that n-gga Melly. He talking ’bout, ‘I want Melly free ’cause that n-gga bought me snacks and a magazine at the airport.’ What?”