Five people were killed and two others injured in an apparently random attack in Kongsberg, Norway, late Wednesday as a man roamed the city shooting people with a bow and arrow.
Authorities said the man was taken into custody in the city center and is currently being held in the nearby city of Drammen.
Police are not searching for any other suspects.
"Based on the information we have at the present time; the apprehended man has acted alone. We will also have to look at whether this is an act of terror or not," Øyvind Aas, the city's assistant chief of police, said in a statement. "The suspect has not yet been questioned by the police, and it is therefore too early to say anything about his motivation for his actions."
The suspect was identified as a 37-year-old man who lived in Kongsberg, but is a Danish citizen. He has been charged in the crime, police said.
Kongsberg is located about an hour southwest of Oslo.
Police said the man was spotted walking around the city shooting at random around 6:30 p.m. local time and was taken into custody about 20 minutes later. Photos from the city showed arrows stuck in walls of buildings.
One of those who was injured was an off-duty police officer, authorities said.
"There has been, and there still is a major police activity in the area," Aas said. "The reason for this is that the suspect has moved over a large area, and we are now working on securing evidence and get as much information about the incident as we can."
In a statement, the U.S. State Department said, "We are aware of today's attack and extend our heartfelt condolences to the victims and their families."
ABC News' Sohel Uddin, Kirit Radia, Conor Finnegan and Christine Theodorou contributed to this report.