NEW YORK (TNND) — A man was arrested after two people were stabbed in separate attacks in New York City on Thursday, according to authorities.

Stabbing suspect yells ‘Allahu Akbar’ before attacking 2 men in New York: police (Video courtesy of CNN Newsource via WABC)

New York Police Department (NYPD) Police Commissioner Jessica Tisch said investigators are working to determine whether the assaults were potential hate crimes after witnesses reported the suspect shouted “Allahu Akbar” during both stabbings.

Tisch identified the suspect as 51-year-old Raul Morales. She said he was taken into custody shortly after the attacks.

“While the perpetrator has no known mental health history with the NYPD, the initial investigation suggests that mental health may have been a factor,” Tisch wrote on X.

The two people who were stabbed, an Asian man and a Jewish man, were taken to Mount Sinai Morningside hospital with injuries that were not considered life-threatening, Tisch said. Both are expected to survive, she added.

“At this time there is no known link between Morales and either of the victims, nor between the victims and each other,” Tisch said.

Tisch credited a bystander with helping officers find the suspect after the stabbings. She said a “good Samaritan” directed responding officers to the area where Morales was hiding, allowing police to take him into custody without further incident.

Tisch said the investigation remains active.