(CNN)Five people were injured Friday in a stabbing at a shopping mall in Manchester, northwest England, and a man is being detained under the UK's Mental Health Act, police said.
The incident took place at the Arndale Centre at around 11:15 a.m. local time (6:15 a.m. ET), where a man who was carrying a "large knife" began "lunging and attacking people," Assistant Chief Constable Russ Jackson of Greater Manchester Police said.
Jackson said while the injuries are "nasty," none of them are life-threatening.
He said police did not know the motivation behind the attack, adding that "it appears random, and it is brutal."
Following the attack, a man originally was arrested on suspicion, preparation and instigation of an act of terrorism. He is believed to have acted alone.
A statement tweeted later Friday by Greater Manchester Police said: "The 40-year-old man, who was arrested on suspicion of committing a terrorism offence, has now been assessed by specialist doctors and compulsorily detained under the Mental Health Act. The investigation will continue in order to fully understand the motives behind the attack."
Jackson said the man was within police custody within five minutes.
Witness Freddie Houlder, 22, who was shopping for shoes at the time, told CNN that he "heard screams" before a woman ran into the shop and "said someone tried to stab her."
"She said this guy was trying to stab random people," Houlder said. "We were locked in the shop for around 20 minutes, then were finally allowed out."
John Worsley, 25, was also shopping at the time and told CNN that after he heard screaming he "walked round the corner to find a woman on the floor next to the cash machines."
"A lady was around her screaming she had been stabbed," Worsley told CNN. "We then saw the attacker running out of the doors."