SAN FRANCISCO (BCN) – San Francisco police arrested a 22-year-old homeless man Wednesday in connection with the stabbing of another man the previous day near Golden Gate Park, a police spokesman said Thursday.

The victim, a 19-year-old man, was standing near Haight and Stanyan streets at about 6:10 p.m. when another man came up behind him and stabbed him twice, Officer Albie Esparza said.

READ MORE: Elderly Asian Woman Stabbing Attack Triggers Blame Game Between San Francisco DA, Police Officers Assn

The victim suffered injuries that were not life-threatening, and the suspect fled on foot, Esparza said. The motive for the attack is unknown.

READ MORE: 1 Taken To Hospital, 2 Vehicles Damaged In Vegetation Fire Along Highway 101 In San Jose

On Wednesday, officers arrested Nicholas Berner, who has no fixed address and hails from New York, Esparza said.

Berner was booked into jail on suspicion of assault with a deadly weapon, he said.

MORE NEWS: Snakes by the Planes: Endangered San Francisco Species Found Thriving in Wetlands at SFO

(© 2010 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Bay City News contributed to this report.)