US rapper ASAP Rocky, real name Rakim Mayers, has been found guilty of assault during a Stockholm fight and given a two-year suspended sentence.
The 30-year-old has also been ordered to pay damages to the victim.
ASAP Rocky spent nearly a month in custody after the assault, which happened at the end of June, before being released ahead of the verdict.
Two members of ASAP Rocky’s entourage, Bladimir Corniel and David Rispers, were found guilty of the same charge.
“The assault has not been of such a serious nature that a prison sentence must be chosen,” the court said in a statement.
“The defendants are therefore sentenced to conditional sentences.”
A suspended sentence means that as long as ASAP Rocky and the two other men found guilty commit no further crimes during a two-year probation period, they will avoid prison.
ASAP Rocky and his co-defendants claimed they had been acting in self-defence against two men who had been following their group.
But the court said the three were “not in a situation where they were entitled to self-defence” and wrote in its verdict that they “assaulted the victim by hitting and kicking him as he lay on the ground.
“The artist has also thrown the victim to the ground and stepped on his arm.”
The court said the victim of the assault, a 19-year-old refugee, was awarded damages for what the court described as the violation of his integrity and for pain and suffering.
The judgement ruled that there was not enough evidence to say that bottles had been used during the assault – a key part of the evidence presented during the three-day trial which took place at the beginning of August.
ASAP Rocky’s case attracted international attention when US President Donald Trump intervened, claiming ASAP Rocky was being treated unfairly.
US gossip website TMZ had previously claimed that walking into Kronoberg prison – where ASAP Rocky was being held – was like “walking into a toilet”. The prison’s governor rejected those claims when speaking to Radio 1 Newsbeat.
Mr Trump said he’d spoken to Sweden’s Prime Minister after having a conversation with Kanye West.
But the president later reacted angrily when he was unable to secure ASAP Rocky’s release.
ASAP Rocky was forced to cancel numerous festival appearances while in custody in Sweden in July.
J Hus filled in for his headline slot at Wireless in London, while Ski Mask The Slump God filled in at Longitude in Dublin.
After being released earlier this month he performed at the 92.3 Real Street Festival in California, calling his time in Swedish prison “scary” and “humbling” before telling the crowd: “I need y’all to keep praying for me.”
He’s scheduled to headline Blockfest in Finland on Friday. BBC News