Rapper A$AP Rocky has pled not guilty to felony firearms charges involving a 2021 dispute in Hollywood.

The rapper, whose real name is Rakim Mayers, appeared in a Los Angeles courtroom on Wednesday for his arraignment. He faces two counts of assault with a semiautomatic firearm with allegations of personally using a firearm, Los Angeles County District Attorney George Gascón’s office said in a press release. His bond was set at $550,000.

The shooting on Nov. 6, 2021, occurred after an argument in Hollywood involving Mayers’ former friend, A$AP Relli. During the feud, Mayers allegedly procured a handgun and fired twice at Relli, who sustained minor injuries to his hand. He then fled with the scene with two other people.

Los Angeles Superior Court Judge Victoria B. Wilson ordered the rapper to stay away from the former friend.

A$AP Rocky and Rihanna film a music video

Rihanna and A$AP Rocky, real name Rakim Mayers, are seen filming a music video in the Bronx on July 10, 2021, in New York City. Mayers was arrested earlier this year at Los Angeles International Airport after vacationing in Barbados with singer Rihanna, with whom he shares a child. (Raymond Hall/GC Images)

Mayers was arrested earlier this year at Los Angeles International Airport after vacationing in Barbados with singer Rihanna, with whom he shares a child.

ASAP Rocky court

Rapper A$AP Rocky pleads not guilty to assault charges during his arraignment at Clara Shortridge Foltz Criminal Justice Center in Los Angeles on August 17, 2022. (Irfan Khan-Pool/Getty Images)

RIHANNA GIVES BIRTH, WELCOMES FIRST CHILD WITH A$AP ROCKY

The case remains under active investigation by the Los Angeles Police Department and a preliminary hearing is scheduled for November.

CLICK HERE TO GET THE FOX NEWS APP

ASAP Rocky stage

Rapper A$AP Rocky has pled not guilty to felony firearms charges. (Joseph Okpako/WireImage)

A rep for Mayers did not immediately respond to Fox News Digital for request for comment.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

The Associated Press contributed to this report.