When in argument in the Tenderloin turned violent Monday night, it wasn't the participants in the altercation who got injured — instead, a passing motorcyclist was struck by a bullet fired by one of the men.

According to the San Francisco Police Department, a 19 and a 23-year-old man were engaged in a dispute near the intersection of Taylor and Turk Streets at 8:39 p.m. Monday when the incident occurred.

Police say that as the argument escalated, the 19-year-old pulled out a gun and fired it. But instead of striking his opponent, the bullet hit a 33-year-old man who was passing through the intersection on a motorcycle.

Both of the squabblers fled the scene, police say, but witnesses were able to help police identify the men and track them down. Both were arrested, according to the SFPD.

The motorcyclist suffered non-life-threatening injuries in the shooting, police say, and is expected to recover.