The New York City Police Department is investigating after police shot and killed a man in Brooklyn early Wednesday morning.
Investigators say a livery cab driver told two officers about a robbery on Hinsdale Street in East New York just after 1 a.m.
The officers also heard gunshots.
When they arrived at the scene, they saw the robbery victim struggling with the suspected robber over a gun.
Police say the victim called out for help, and the other man turned and fired a shot at the officers.
One officer fired back, hitting the shooter in the stomach.
The gunman ran away but was found hiding under a car on Dumont Avenue.
Police say a revolver was also recovered under the vehicle.
The suspect was taken to Brookdale Hospital where he was pronounced dead.
Residents who spoke with NY1 had mixed thoughts on how the situation was handled.
"It's very scary. I figure it could have been me that was shot, you know, at that hour in the morning, ya know? So that's something...it's scary," said one East New York resident.
"I just wanna know why every time a cop shoots somebody they always have to shoot to kill. What happened to, like, bringing 'em down. Ya understand? We got other parts of our bodies, what's wrong with that?" said another East New York resident.
Police experts note when officers are facing an armed opponent time is of the essence, meaning they do not have the leeway to aim for an arm or a leg.
Meanwhile, the 28-year-old man who was being robbed was not hurt.
The officer who opened fire was taken to the hospital for ringing in his ears.