A suspect, who has been arrested in connection with the shooting in Copenhagen on Sunday that left three people dead and four injured, had a mental health issue. 

Speaking at a press conference, Copenhagen police chief Soren Thomassen said, “Our suspect is also known among psychiatric services, beyond that I do not wish to comment.”

Thomassen also said that the 22-year-old targeted random people and that there was no indication that it was an act of terror.

Also Read | Copenhagen shooting: An eyewitness account

“Our assessment is that the victims were random, that it isn’t motivated by gender or something else,” Thomassen said.

The motive behind the deadly attack remains unknown. However, police believe that there was some preparation ahead of the attack and that the 22-year-old suspect did not have an accomplice.

“As things stand, it seems he was acting alone,” he said.

Police identified the three killed as a Danish teenage girl and boy, both aged 17, and a 47-year-old Russian citizen residing in Denmark.

Also Read | Copenhagen world’s ‘safest city?’ A look at Denmark gun laws

Another four were injured in the shooting: two Danish women, aged 19 and 40, and two Swedish citizens, a 50-year-old man and a 16-year-old woman.

According to police, videos of the suspect circulating on social media since Sunday evening on social media are likely authentic.

Police said that the shooter was armed with a rifle, a pistol and a knife. 

A grainy photo of the alleged shooter wearing knee-length shorts, a vest or sleeveless shirt was published by Danish broadcaster TV2.

“He seemed very violent and angry,” eyewitness Mahdi Al-Wazni told TV2. “He spoke to me and said it (the rifle) isn’t real as I was filming him. He seemed very proud of what he was doing.”

An eye-witness, identified as Maxmillian Von Renteln, said he was “just outside” the Field’s shopping centre when he heard gunshots. Renteln initially did not think that the sound was that of gunshots. But, when he saw people running out of the mall, he he panicked, BBC reported.

Also Read | Does Denmark have gun control? Copenhagen shooting sparks debate on gun laws

Prime Minister Mette Frederiksen slammed the “cruel attack” in a statement late Sunday.

“Our beautiful and usually so safe capital was changed in a split second,” she said.

The shooting came just over a week after a gunman opened fire near a gay bar in Oslo in neighboring Norway. Two people were killed and 21 others were injured in the attack.