Police responded to the store at 991 Market St. around 11:15 a.m., when two uniformed officers investigating an unrelated vandalism report were flagged down, according to Cmdr. Greg McEachern, CBS San Francisco reported.

The cops found three people fighting behind the counter, with one person stabbing another after Flusche demanded a free sandwich, McEachern said.

Flusche followed the stabbing victim and the other man while brandishing a knife when one of the cops fatally shot him, McEachern said.

Someone yelled, “Shots fired,” while more cops entered the Subway as Flusche lay on the ground.

The cop who opened fire has been identified by police as Officer Kenneth Cha.

The stabbing victim was released from a hospital later that day.

Police Chief William Scott said the video was released as part the department’s commitment to transparency.

He was careful to avoid commenting on whether the shooting was justified, stressing that multiple agencies are investigating it.

“We want to get it right, we want to be transparent, and we want to report the facts as they are,” Scott said.