A person with an air-powered gun and a bystander were shot by police in the Mission District of San Francisco Sunday morning, according to police.
At about 2 a.m., two groups of people confronted each other outside of a bar near 17th and Valencia streets. One of the people pulled out a gun.
One of the people in the crowd got frightened and ran across the street to the Mission police department, police said.
The person flagged down two officers, who came and found the same person pointing a firearm at the opposing group of people.
That's when one of the officers started shooting at the suspect, hitting that person and another..
Both gunshot victims were transported to San Francisco General Hospital to be treated for life-threatening injuries, police said.
Upon further investigation, detectives learned the firearm used by the suspect was an air-powered gun, police said.
As of 6:15 a.m., detectives remained at the scene of the "very active investigation," according to police.
Several people in the area were detained for questioning by homicide investigators.
The two officers will be placed on paid administrative leave after both are questioned by investigators.