Rocky was charged on Thursday with having committed an assault causing actual bodily harm on June 30 in central Stockholm, Swedish prosecutors said in a statement, capping weeks of speculation about how the country would handle a street brawl that was captured, at least in part, on camera.

The rapper will remain in custody, at least until his trial begins on Tuesday, the Swedish Prosecution Authority said in a statement.

The punishment for Rocky could include a fine based on his daily earnings or a maximum of two years in prison, said Annika Collin, a spokeswoman for the Swedish Prosecution Authority.

The decision to charge Rocky, and Mr. Trump’s increasing ire over the charges, will sharpen the focus on a case that started as a fistfight, but has ballooned into much more, with Sweden facing accusations of racism and human rights abuses for its treatment of the rapper.

Rocky, 30, whose real name is Rakim Mayers, is accused of assaulting Mustafa Jafari in Stockholm after an altercation in the street that was captured on video. The rapper and two other men were detained on July 5 as prosecutors investigated the matter.