The terrifying scenes took place just hours after the country’s Prime Minister, Stefan Löfven, slammed Donald Trump for claiming Sweden was in crisis as a result of its liberal refugee policy.
Stockholm police were forced to fire a shot into the rampaging crowd in the hard-hit suburb of Rinkeby, after a mob of around 30 thugs started attacking the officers with rocks.
Violence erupted after the police had tried to arrest a wanted person on the subway.
Sylvia Odin, of the Stockholm police, said: “There was stone throwing and they were placed in a situation where a number of people jointly attacked and threw stones. They felt vulnerable and threatened.
“The initial information we received was that a warning shot [was fired] but when the picture cleared, it turned out it was for effect [meaning it was intended to hit the target].”
Another officer told Aftonbladet: “The police were cornered between the stone throwers and their car and shot towards the stone thrower but missed.”
In addition to the police being attacked, emergency services had their hands full as 10 cars were set alight in Rinkeby.
A photographer from Dagens Nyheter was also reportedly attacked during the clashes as he said a group of around 15 people had assaulted him when he arrived in Rinkeby to report on the unrest.
“I was hit with a lot of punches and kicks both to my body and my head. I have spent the night in hospital,” he said.