NEW YORK, NY - SEPTEMBER 13:  ASAP Rocky attends Rihanna's 4th Annual Diamond Ball benefitting The Clara Lionel Foundation at Cipriani Wall Street on September 13, 2018 in New York City.  (Photo by Dimitrios Kambouris/Getty Images for Diamond Ball)
Dimitrios Kambouris/Getty Images
NEW YORK, NY - SEPTEMBER 13: ASAP Rocky attends Rihanna's 4th Annual Diamond Ball benefitting The Clara Lionel Foundation at Cipriani Wall Street on September 13, 2018 in New York City. (Photo by Dimitrios Kambouris/Getty Images for Diamond Ball)
Now playing
01:48
Trump says he's working with Swedish PM to free rapper
Anthony Blinken BBC intv
BBC
Anthony Blinken BBC intv
Now playing
03:27
Blinken: US will respond if Russia acts recklessly against Ukraine
Now playing
02:50
Brazil says it's ready to end deforestation in Amazon. But there's a price tag
The trial of the two US citizens charged with the murder of Italian police officer Mario Cerciello in July 2019 has concluded and a verdict is expected.
AFP
The trial of the two US citizens charged with the murder of Italian police officer Mario Cerciello in July 2019 has concluded and a verdict is expected.
Now playing
02:49
Italy charged two Californians with murder. Here are the case details
screengrab myanmar training
Reuters
screengrab myanmar training
Now playing
02:30
In Myanmar's jungles, protesters are training to fight the junta
Reuters
Now playing
01:50
Controversy around Ethiopia's Nile River dam project explained
Mexico C5 security system
Now playing
01:56
Video shows moment Mexico City metro overpass collapses
south africa cash in transit heist attempt pretoria McKenzie DNT intl ldn vpx_00004113.png
CIT Dashcam Video
south africa cash in transit heist attempt pretoria McKenzie DNT intl ldn vpx_00004113.png
Now playing
01:29
Gunmen with AK-47s ambushed cash-in-transit van. See how security team reacted
CNN
Now playing
04:59
Rare access to Ukrainian patrol boat challenging Russian navy
uruguay peoples pots feed hungry coronavirus pandemic romo pkg vpx_00000109.png
uruguay peoples pots feed hungry coronavirus pandemic romo pkg vpx_00000109.png
Now playing
02:24
This group of volunteers is on a noble mission amid pandemic
Now playing
01:21
Watch octopuses change color while they sleep
CNN
Now playing
05:00
Striking oil here could be worth billions of dollars. Not everyone is happy
screengrab myanmar journalist
DVB
screengrab myanmar journalist
Now playing
03:13
Myanmar's journalists face 'humanitarian crisis' as crackdown intensifies
Reuters
Now playing
04:19
Social media footage shows crush in Israel
screengrab myanmar thailand border
Karen National Union
screengrab myanmar thailand border
Now playing
03:06
Rare footage shows gun battle at Myanmar-Thailand border
Now playing
01:04
See Beijing launch key component of planned space station
(CNN) —  

A$AP Rocky will go on trial in Sweden on Tuesday, after spending much of the past month in jail.

The American rapper has been charged with assault after a confrontation in Stockholm in late June, according to prosecutors. The 30-year-old – whose real name is Rakim Mayers – has been in custody since July 3.

The case sparked interest around the world after US President Donald Trump publicly demanded the rapper’s release, to little effect.

Here’s what we know:

What happens at the trial?

The trial at the Stockholm District Court starts on Tuesday and is scheduled to continue on Thursday and Friday. Proceedings will be held in a special secure courtroom, according to the court officials.

Under Swedish law, A$AP Rocky could face a maximum penalty of two years in prison. However, according to Swedish media, the prosecutors have indicated they do not expect to ask for the maximum penalty.

What is A$AP Rocky accused of?

The rapper was arrested following a confrontation in the Swedish capital on June 30.

Public prosecutor Daniel Suneson has alleged that A$AP Rocky and two other men assaulted another man by kicking and beating him with a whole or part of a glass bottle, according to court documents seen by CNN.

Suneson said that he had determined the events constituted a crime “despite claims of self-defense and provocation,” after reviewing videos and witness statements.

All three have been charged for their involvement in the brawl.

What does the defense say?

The rapper’s lawyer, Slobodan Jovicic, has said his client is innocent, and was simply defending himself.

“We think it was self-defense, but the prosecutor has chosen to go with the injured party’s version,” Jovicic said, adding that his client is “very disappointed” that the prosecutor has “chosen to go with the other party’s version” of events.

Video clips shared on Instagram by A$AP Rocky show the rapper and his companions repeatedly asking two men to stop following them. The rapper wrote in a caption that one of the men hit a member of his security team “in the face with headphones,” and reasserted that he was “innocent.”

In another video posted by TMZ, A$AP Rocky appears to grab one of the men and throw him to the ground. Another angle appeared to show the rapper and members of his entourage kicking and punching the man.

How did Trump get involved?

The case took an unexpected turn earlier this month after Trump weighed in, campaigning for the rapper’s release. He said on Twitter that he had spoken with Swedish Prime Minister Stefan Löfven and “offered to personally vouch for (A$AP Rocky’s) bail, or an alternative.”

But Swedish law doesn’t have a bail system, and Suneson said the court decided the 30-year-old rapper should remain in prison because he was deemed a “flight risk.”

After Swedish authorities refused to release the musician, Trump tweeted: “Give A$AP Rocky his FREEDOM. We do so much for Sweden but it doesn’t seem to work the other way around. Sweden should focus on its real crime problem!”

In response, Löfven’s spokesperson Mikael Lindström said in a statement to CNN that “all people in Sweden are equal before the law.”

“All I can say at this point, is that Sweden and Prime Minister Stefan Löfven have explained and emphasized the complete independence of the Swedish judicial system, prosecutors and courts,” Lindström said. “The Government is not allowed, and will not attempt, to influence the legal proceedings, which are now ongoing.”

Several high profile celebrities including Kim Kardashian West, musical artists Post Malone and Shawn Mendes and actress Jada Pinkett Smith have thrown their support behind the petition using the hashtag “JusticeForRocky.”

Veronica Stracqualursi, Eliza Mackintosh, Per Nyberg, Saskya Vandoorne, Melissa Bell, Arnaud Siad and Bianca Britton contributed reporting.