The police fatally shot a Brooklyn T-shirt vendor in a nail salon on Friday after he used a chair to hit an officer who was trying to arrest another man, officials said. The officer, who was hit on the head during the altercation, was hospitalized in critical but stable condition, officials said.

It was the 11th deadly shooting by a New York officer so far this year and the sixth in under a month, according to Police Department statistics. By comparison, there were four such shootings all of last year; eight in 2017; seven in 2016; and six in 2015.

Officials gave the following account of the events on Friday:

Around 5:30 p.m., a man went into the Goldmine nail salon on Mother Gaston Boulevard near Sutter Avenue in Brownsville asking to use the bathroom. He wound up urinating on the floor.

Two officers arrived to remove him from the salon. They determined that he had an outstanding warrant. They moved to arrest him. He resisted.