US rapper ASAP Rocky has been arrested for a gunshot incident.

Pop superstar Rihanna's boyfriend was taken into custody at Los Angeles airport on Wednesday, police said.

The charge is assault with a deadly weapon.

According to the police, the background is a "quarrel between two acquaintances" in Hollywood last November, in which "the suspect shot the victim with a handgun".

The suspect was later identified as ASAP Rocky, whose real name is Rakim Mayers and his stage name is A$AP Rocky.

The victim suffered only minor injuries.

The rapper and two other men fled after the incident.

According to the celebrity portal "TMZ", the 33-year-old musician was arrested after he flew to Los Angeles on a private jet from Rihanna's home island of Barbados.

ASAP Rocky and Rihanna are expecting their first child, the couple announced the pregnancy in late January.

It's not the first time the rapper has gotten into trouble with the law.

The New York-born musician was arrested in 2019 in the Swedish capital Stockholm after a street fight.

He was released after more than a month in custody and was later given a suspended sentence for assault.