NEW YORK, NY - SEPTEMBER 13:  ASAP Rocky attends Rihanna
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)
PHOTO: Dimitrios Kambouris/Getty Images
Now playing
01:48
Trump says he's working with Swedish PM to free rapper
Now playing
02:23
Tropical activity poses threat in Southern Hemisphere
PHOTO: Indonesia Search and Rescue Agency
Now playing
02:09
Woman who is trapped underneath earthquake's rubble captured on video
Barrie
Barrie's aunt speaks about how the police brought her the news about the death of her nephew Ibrahima.
PHOTO: VTM
Now playing
01:26
Aunt of Black man who died after arrest in Belgium: We want justice
screengrab US social media
screengrab US social media
PHOTO: Getty Images
Now playing
04:35
Tech companies ban Trump, but not other problematic leaders
Now playing
01:23
Rejected Tintin cover breaks world record for comic book art
WASHINGTON, DC - JANUARY 13:  Speaker of the House Nancy Pelosi (D-CA) presides over the vote to impeach U.S. President Donald Trump for the second time in little over a year in the House Chamber of the U.S. Capitol January 13, 2021 in Washington, DC. The House voted to impeach Trump on the charge of "incitement of insurrection," 232-197 after a mob of his supporters attacked the U.S. Capitol where Congress was working to certify the Electoral College victory of President-elect Joe Biden on January 6. 10 Republicans voted to impeach. (Photo by Chip Somodevilla/Getty Images)
WASHINGTON, DC - JANUARY 13: Speaker of the House Nancy Pelosi (D-CA) presides over the vote to impeach U.S. President Donald Trump for the second time in little over a year in the House Chamber of the U.S. Capitol January 13, 2021 in Washington, DC. The House voted to impeach Trump on the charge of "incitement of insurrection," 232-197 after a mob of his supporters attacked the U.S. Capitol where Congress was working to certify the Electoral College victory of President-elect Joe Biden on January 6. 10 Republicans voted to impeach. (Photo by Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
Now playing
02:35
How the world is reacting to Trump's second impeachment
Indonesia sriwijay air crash search for victims wang pkg intl hnk vpx_00000920.png
Indonesia sriwijay air crash search for victims wang pkg intl hnk vpx_00000920.png
Now playing
02:21
Family members wait in anguish as search for crash victims continues
africa china coronavirus vaccine diplomacy lu stout pkg vpx _00025522.png
africa china coronavirus vaccine diplomacy lu stout pkg vpx _00025522.png
PHOTO: CCTV
Now playing
03:09
How China is hoping to use its vaccine as a diplomatic tool
PHOTO: CIRO FUSCO/AFP/ANSA/AFP via Getty Images
Now playing
00:38
Huge sinkhole appears in Italian hospital parking lot
TOPSHOT - Rescue workers carry recovered debris at the port in Jakarta on January 10, 2021, during the search operation for Sriwijaya Air flight SJY182 which crashed after takeoff from Jakarta on January 9. (Photo by Dany Krisnadhi / AFP) (Photo by DANY KRISNADHI/AFP via Getty Images)
TOPSHOT - Rescue workers carry recovered debris at the port in Jakarta on January 10, 2021, during the search operation for Sriwijaya Air flight SJY182 which crashed after takeoff from Jakarta on January 9. (Photo by Dany Krisnadhi / AFP) (Photo by DANY KRISNADHI/AFP via Getty Images)
PHOTO: Dany Krisnadhi/AFP/Getty Images
Now playing
02:16
Indonesian jetliner crashes after taking off from Jakarta
 HONG KONG PRO DEMOCRACY ACTIVIST VENTUS LAU BEING ESCORTED BY POLICE.
HONG KONG PRO DEMOCRACY ACTIVIST VENTUS LAU BEING ESCORTED BY POLICE.
PHOTO: VENTUS LAU FACEBOOK PAGE/Reuters
Now playing
03:15
See Hong Kong police arrest former pro-democracy lawmakers
Tensions between the United States and Iran are likely to further escalate once again after Tehran seized a South Korean-flagged chemical tanker in the Persian Gulf, according to semi-official Iranian news agencies, and announced it had resumed enriching uranium to 20% purity, far beyond the limits laid out in the 2015 nuclear deal. President Donald Trump walked away from the agreement in 2018. CNN
Tensions between the United States and Iran are likely to further escalate once again after Tehran seized a South Korean-flagged chemical tanker in the Persian Gulf, according to semi-official Iranian news agencies, and announced it had resumed enriching uranium to 20% purity, far beyond the limits laid out in the 2015 nuclear deal. President Donald Trump walked away from the agreement in 2018. CNN's Paula Hancocks reports.
PHOTO: YJC
Now playing
02:37
Footage shows chemical tanker seized by Iranian forces
A European health worker prepares a shot of the coronavirus vaccine.
A European health worker prepares a shot of the coronavirus vaccine.
PHOTO: Reuters
Now playing
02:14
Frustration in Europe over pace of coronavirus vaccine rollout
Jack Ma, the co-chair of the UN High-Level Panel on Digital Cooperation, founder of Alibaba Group, attends the Bund Summit in Shanghai. He says that the essence of finance is credit management. We must change the pawnshop idea of Finance and rely on the credit system. Shanghai, China, 24 October 2020.

Jack Ma, the co-chair of the UN High-Level Panel on Digital Cooperation, founder of Alibaba Group, attended the Bund Summit in Shanghai. He says that the essence of finance is credit management. We must change the pawnshop idea of Finance and rely on the credit system.No Use China. No Use France.
Jack Ma, the co-chair of the UN High-Level Panel on Digital Cooperation, founder of Alibaba Group, attends the Bund Summit in Shanghai. He says that the essence of finance is credit management. We must change the pawnshop idea of Finance and rely on the credit system. Shanghai, China, 24 October 2020. Jack Ma, the co-chair of the UN High-Level Panel on Digital Cooperation, founder of Alibaba Group, attended the Bund Summit in Shanghai. He says that the essence of finance is credit management. We must change the pawnshop idea of Finance and rely on the credit system.No Use China. No Use France.
PHOTO: Zhao Yun/Oriental Image/Reuters
Now playing
03:05
Chinese tech tycoon has not been seen in months
(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.