NEW YORK - (AP) - Police officers hunting for a robbery suspectshot and killed an armed man on Thursday after he walked up totheir unmarked car and pulled out a loaded revolver.

The shooting occurred shortly after 2 p.m. as plainclothesofficers canvassed a Brooklyn neighborhood bordered by a largecemetery.

Three officers in an unmarked car spotted a pedestrian who fitthe description of a suspect wanted in a string of strong-armrobberies in the area, New York Police Department spokesman PaulBrowne said. When they pulled over to try to question him, hewalked up to the car and pulled out the revolver, Browne said.

As the officer driving the car struggled through his window withthe man over the gun, an officer in the front passenger seat jumpedout and shot the man once in the shoulder, the spokesman said. Thebullet apparently traveled into the 32-year-old man's chest,killing him.

Police Commissioner Raymond W. Kelly commended the actions ofthe officer who opened fire.

"She saved her partner's life, and possibly her own and that ofa third officer with her unflinching, swift response," Kelly said.

It was unclear whether the man, who police said had a history offelony arrests, was the person sought for the robberies.

A six-shot revolver was recovered loaded with five bullets alongwith a second loaded .44 revolver, which was in the man's backpackwith a gallon-sized plastic bag of marijuana, police said.