SAN FRANCISCO (CBS SF) — A man shot and killed by San Francisco police on Market Street Wednesday has been identified as 26-year-old Nicholas Flusche, according to the medical examiner’s office.

Flusche was shot at 11:22 a.m. in the 900 block of Market Street after two beat patrol officers came across a stabbing in progress, according to police Chief Bill Scott.

READ MORE: UPDATE: Wind-Whipped Big Sur Wildfire Grows To 1,500 Acres, Blaze Erupts Near Geysers Peak In Sonoma

The officers moved to intervene after they saw one man stabbing another, and “at least one” officer opened fire, Scott said.

The attack happened inside a Subway sandwich shop.

Flusche, who was allegedly stabbing the other man, died at the scene. The stabbing victim was taken to a hospital and is expected to survive his injuries.

Sources told KPIX 5 that the incident was a fight over a sandwich that led to Flusche attacking

READ MORE: High Winds Topple Trees; Leave Path Of Destruction In San Jose Neighborhood

The shooting was the second officer-involved shooting for San Francisco police this year, and the first to involve a fatality.

It is also the first to occur since Scott was sworn in as chief of police in late January. His predecessor, Chief Greg Suhr, resigned in May of last year following an officer-involved shooting after sustained public protest and calls for reform.

“Loss of life is tragic, doesn’t matter how it happens, it’s tragic,” Scott said Wednesday. “These things, we try to avoid them as much as we can, but we have an obligation to protect the public.”

Police have said they will hold a town hall meeting to provide further information on the shooting within 10 days.

Flusche’s city of residence could not be confirmed, according to the medical examiner’s office.

MORE NEWS: Pipeline Of Illegal Weapons Shutdown; Four Arrested In San Mateo, Alameda County Raids

TM and © Copyright 2017 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2017 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Bay City News Service contributed to this report.