Police arrested a man who stabbed a stranger in a Long Beach park Tuesday morning, according to authorities.

The 25-year-old man, who was homeless, attacked a woman with an unknown object around 11:30 a.m. while the two were at a park near 14th Street and Chestnut Avenue, Long Beach police spokesman Alvino Herrera said.

The two don’t know each other but got into some kind of dispute before the stabbing, Herrera said.

Police said the attack left the 28-year-old woman with a wound to her upper torso, but it wasn’t life-threatening and she wasn’t taken to a hospital.

The suspected attacker was still nearby and officers quickly detained him, police said. Authorities identified him as James Burnett and said he is from San Pedro.

He was taken into custody on suspicion of assault with a deadly weapon and a parole violation, Herrera said. Police said they’re still investigating.

Jeremiah Dobruck is managing editor of the Long Beach Post. Reach him at [email protected] or @jeremiahdobruck on Twitter.