The New York City Police Department says three police officers are in the hospital following a confrontation with a man wielding a knife in Brooklyn.
According to police, the man slashed one of the officers in the neck, and then struggled with one of the other officers.
Police say that's when a gun went off, hitting an officer in the hand. Another officer was also hurt.
The man who attacked them was shot multiple times and was hospitalized in critical condition, said Police Commissioner Dermot Shea.
The officers are expected to survive.
The incident happened in an area of the borough where no protests were taking place.
AP wire services helped contribute to this report.