A gunman opened fire in Oslo's night-life district early Saturday, killing two people and leaving more than 20 wounded in what Norwegian security service called an "Islamist terror act" during the capital's annual Pride festival.
Investigators said the suspect, identified as a 42-year-old Norwegian citizen originally from Iran, was arrested after opening fire at three locations in downtown Oslo.
The PST security service raised its terror alert level from "moderate" to "extraordinary" — the highest level — after the attack, which sent panicked revelers fleeing into the streets or trying to hide from the gunman.
PST acting chief Roger Berg called the attack an "extreme Islamist terror act" and said the suspect had a "long history of violence and threats" as well as mental health issues.
He said PST first became aware of the suspect in 2015 and later became concerned that he had become radicalized and was part of an unspecified Islamist network.
Upon the advice of police, organizers canceled a Pride parade that was set for Saturday as the highlight of a weeklong festival. Scores of people marched through the capital anyway, waving rainbow flags.
One of the shootings happened outside the London Pub, a bar popular with the city's LGBTQ community, just hours before the parade was set to begin.
Police attorney Christian Hatlo said the suspect was being held on suspicion of murder, attempted murder and terrorism, based on the number of people targeted at multiple locations.
"Our overall assessment is that there are grounds to believe that he wanted to cause grave fear in the population," Hatlo said.
Police said two of the shooting victims died and 10 people were being treated for serious injuries, but none of them was believed to be in life-threatening condition. Eleven other people had minor injuries.
Olav Roenneberg, a journalist from Norwegian public broadcaster NRK, said he witnessed the shooting.
"I saw a man arrive at the site with a bag. He picked up a weapon and started shooting," Roenneberg told NRK. "First I thought it was an air gun. Then the glass of the bar next door was shattered and I understood I had to run for cover."
Another witness, Marcus Nybakken, 46, said he saw a lot of people running and screaming and thought it was a fist fight.
"But then I heard that it was a shooting and that there was someone shooting with a submachine gun," Nybakken told Norwegian broadcaster TV2.
Prime Minister Jonas Gahr Stoere said in a Facebook post that "the shooting outside London Pub in Oslo tonight was a cruel and deeply shocking attack on innocent people."
He said that while the motive was unclear, the shooting had caused fear and grief in the LGBTQ community.
"We all stand by you," Gahr Stoere wrote.
Christian Bredeli, who was at the bar, told Norwegian newspaper VG that he hid on the fourth floor with a group of about 10 people until he was told it was safe to come out.
"Many were fearing for their lives," he said. "On our way out we saw several injured people, so we understood that something serious had happened."
TV2 showed footage of people running down Oslo streets in panic as shots rang out in the background.
Investigators said the suspect was known to police, as well as to PST, but not for any major violent crimes. His criminal record included a narcotics offense and a weapons offense for carrying a knife, Hatlo said.
Hatlo said police seized two weapons after the attack: a handgun and an automatic weapon, both of which he described as "not modern" without giving details.
He said the suspect had not made any statement to the police and was in contact with a defense lawyer.
Hatlo said it was too early to say whether the gunman specifically targeted members of the LGBTQ community.
"We have to look closer at that, we don't know yet," he said.
Still, police advised organizers of the Pride festival to cancel the parade Saturday.
"Oslo Pride therefore urges everyone who planned to participate or watch the parade to not show up. All events in connection with Oslo Prides are canceled," organizers said on the official Facebook page of the event.
Inge Alexander Gjestvang, leader of FRI, the Norwegian organisation for sexual and gender diversity, said the shooting has shaken the Nordic country's LGBTQ community.
"We encourage everyone to stand together, take care of each other. We'll be back later, proud, visible but right now it's not the time for that," he told TV2.
King Harald V offered condolences to the relatives of victims and said the royal family was "horrified" by the attack.
"We must stand together to defend our values: freedom, diversity and respect for each other. We must continue to stand up for all people to feel safe," the monarch said.
Norway has a relatively low crime rate but has experienced violent attacks by right-wing extremists, including one of the worst mass shootings in Europe in 2011, when a gunman killed 69 people on the island of Utoya after setting off a bomb in Oslo that left eight dead.
In 2019, another right-wing extremist killed his stepsister and then opened fire in a mosque but was overpowered before anyone there was injured.
Additional reporting by the Associated Press.