A Swedish prosecutor announced Thursday that American rapper A$AP Rocky has been charged with assault over a fight in Stockholm last month.

KAMALA HARRIS DISSES TRUMP FOR 'MISUSE OF POWER' IN RAPPER'S CASE

Prosecutor Daniel Suneson said in a statement that he filed charges against the artist and two others, "having come to the conclusion that the events in question constitute a crime and despite claims of self-defense and provocation."

The case has drawn the attention of fellow recording artists and President Donald Trump.

Rocky, a platinum-selling, Grammy-nominated artist whose real name is Rakim Mayers, has been in custody since July 3, as authorities investigate a fight he was allegedly involved in on June 30 before appearing at a music festival.

TRUMP'S BAIL OFFER FOR JAILED RAPPER A$AP ROCKY RINGS HOLLOW IN SWEDEN

It was not clear who else was involved, but videos published on social media appear to show a person being violently thrown onto the ground by Rocky. The rapper’s lawyer said that Rocky was acting in self-defense.

The three suspects will remain in custody until trial. The Stockholm District Court will have to set a date for the proceedings. On Monday, Swedish prosecutors dropped their investigation into a man they said was involved in the fight with Rocky.

President Trump spoke with Sweden’s Prime Minister Stefan Lofven Saturday after being urged by the first lady and celebrities including Kanye West and Kim Kardashian West to intervene to try to free Rocky.

SWEDISH PROSECUTORS DROP INVESTIGATION INTO MAN IN FIGHT WITH A$AP ROCKY

Trump tweeted Saturday that he assured the prime minister that Rocky would not be a flight risk and offered to personally vouch for the rapper’s bail. Bail, the option for a defendant to pay cash in exchange for release until trial, does not exist within the Swedish criminal justice system.

Other recording artists have spoken on his behalf, including Sean “Diddy” Combs, Justin Bieber, Shawn Mendes, Nicki Minaj and Post Malone.

CLICK HERE TO GET THE FOX NEWS APP 

The Associated Press contributed to this report.