A would-be shooter in San Antonio, Texas, was stopped yesterday by an off-duty police officer working as a security guard at a movie theater. The off-duty police officer shot the suspect.

The shooting suspect, Jesus Manuel Garcia, 19, opened fire at a restaurant in a mall in San Antonio. His former girlfriend worked at the restaurant, and he had worked there as well. Garcia apparently chased employees out of the restaurant, then began shooting at a police car outside. When he ran to the Santikos Mayan Palace Movie Theater, he was quickly shot four times by a security officer. According to Louis Antu of the Bexar County Sheriff’s Office, the deputy saved “a lot of lives.”

This is the third shooting attempt in a populated area in a week stopped by another gun-owner or security guard. In an Oregon last week, Jacob Tyler Roberts opened fire at a mall, killing two people and wounding another, before a conceal and carry permit holder pulled a gun. Roberts then killed himself. A shooting attempt at Fashion Island in Southern California was foiled when bicycle officers on scene stopped the suspect and arrested him.