The rapper, whose real name is Rakim Mayers, will not have to serve a prison sentence in Sweden unless he is repeated in that country.
The case took place on a Stockholm street on June 30, when Rocky and two of his bodyguards reportedly assaulted one person, claiming self-defense against two men following his team.
The court found that the defendants were not in a situation that warranted self-defense and found that the assault was generally not serious enough to impose a prison sentence, according to the Associated Press.
In late July, Donald Trump expressed his displeasure with Sweden when the New York rapper was still in detention. Mayers and the other detainees were released on the 2nd of this month and returned to the United States, paying about 1,000 euros of compensation to the victim.
"We do so much for Sweden, but it doesn't seem to be reciprocal," Donald Trump wrote on the social network Twitter, in a post demanding the release of the American rapper.