SAN FRANCISCO (CBS SF) — A shooting on the San Francisco Municipal Railway T-Third light-rail line in the city’s Dogpatch neighborhood Thursday afternoon occurred after a fight between passengers, according to a Muni spokesman.

One person was grazed by a bullet on a train near Third and 23rd streets around 1:50 p.m. following a fight between passengers, Muni spokesman Paul Rose said.

READ MORE: Support Builds for KPIX Reporter Targeted in YouTuber's Racist Remarks

A second person was injured in a related fight prior to the shooting.

READ MORE: Prop Gun Fired by Alec Baldwin on Movie Set Kills Cinematographer, Wounds Bay Area Director

Both were taken to a hospital, one of them with a gunshot wound, police said. Rose said both were listed in stable condition.

MORE NEWS: Former Oakland Police Captain Wounded During Fatal Shooting At Gas Station

© Copyright 2017 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed