BURLINGAME — Rival gang members clashed leading to a stabbing Friday night, just as a high school football game was letting out, police said.

A 16-year-old boy was stabbed in the chest and a man was injured during the fight, which occurred in front of Burlingame High School on Carolan Avenue just before 9 p.m. The fight was not related to the football game, but rather involved gang members who were in the area, police said.

The teen and the man, Richard Bier, 33, were walking on Carolan when they recognized members of a rival gang playing soccer on a football field at the high school, police said. The victims shouted something about their gang, and the two suspects chased them until they caught up with them at the south entrance to football field, police said. As the four were fighting, one of the suspects went to his car parked nearby and grabbed a knife, stabbing the teen and attempting to slash the other victim, police said. The teen is in the hospital in stable condition. Bier suffered cuts to his hands but was not hospitalized.

The suspects left in a late-model green convertible Ford Mustang. A late-model black Acura was also seen driving off and may have contained more suspects, police said.

Police arrested Martin Lopez-Medina, 24, and Juvenal Gonzalez-Ruiz, 22, both from San Mateo, at 3 a.m. Saturday in San Mateo in connection with the stabbing.

Lopez-Medina and Gonzalez-Ruiz are Sureos, while the victims, are Norteos, said Burlingame Police Cmdr. Mike Matteucci. "All the people involved denied that they are involved in gangs," Matteucci said.

Police ask anyone who witnessed the incident to call Sgt. Pete Tokarski at 777-4100.