Copenhagen, Denmark CNN  — 

A man arrested on suspicion of killing three people and wounding several others during a shooting at a shopping mall in Copenhagen is being remanded in a psychiatric facility for 24 days, Danish police said Monday.

The 22-year-old Danish man was known to psychiatric professionals, police said earlier.

The suspect was charged with manslaughter, Copenhagen Police tweeted. The court who heard the case on Monday has put a ban on naming both the suspect and 10 victims named in the charge, the force added in a series of tweets.

The shooting unfolded on Sunday at multiple locations inside Field’s, a shopping center in the Danish capital. Social media footage showed people running through the mall and heavily armed law enforcement officers on the scene.

At a press conference on Monday morning, Copenhagen’s Head of Police Soren Thomassen said two 17-year-old Danish citizens, one male and one female, and a 47-year-old Russian national had been killed in the gunfire.

Two other Danes and two Swedish nationals had received gunshot wounds and were in hospital in critical but stable condition, while several others sustained minor injuries while leaving the mall, Thomassen said.

In a statement on Monday, police said three people were lightly injured by stray bullets. A total of 27 people were wounded or injured in the attack, with 20 of them “lightly injured during the evacuation,” added the statement.

The man arrested in connection with the shooting is currently the only suspect. Thomassen said there is no indication the suspect was acting with others but an investigation was ongoing.

Earlier, the police had said they detained the suspect 13 minutes after receiving the first emergency call, and that he was “carrying a rifle and ammunition” at the time of his arrest.

At the news conference on Monday, Thomassen said there was no indication the attack was an “act of terror” nor motivated by gender, and police believe the victims were chosen at random. The suspect was “known to people in the psychiatric field,” he said.