The detective was identified as Brian Simonsen, 42, a 19-year veteran of the force. He was shot in the chest and declared dead at Jamaica Hospital, Police Commissioner James O'Neill told reporters.

Brian Simonsen was the first New York police officer to die in the line of duty since July 2017.

New York:

New York City police detective was shot and killed by "friendly fire" and another officer was shot on Tuesday as they responded to an armed robbery, the city's police chief said.

The detective was identified as Brian Simonsen, 42, a 19-year veteran of the force. He was shot in the chest and declared dead at Jamaica Hospital, Police Commissioner James O'Neill told reporters.

He was the first New York police officer to die in the line of duty since July 2017.

The second detective was shot in one leg and listed as stable, police said.

The suspect, described as a 27-year-old "career criminal," was not identified by police. He was shot multiple times and taken to hospital. An "imitation firearm" was found at the scene, O'Neill said.

"This is an absolute tragedy, the worst outcome any police officer or family of a police officer could ever imagine," O'Neill said. "Friendly fire aside, it is because of the actions of the suspect that Detective Simonsen is dead."

The detectives were responding to a call about a robbery at a cellphone store in Queens, O'Neill said. Officers responded and fired multiple rounds, during which Simonsen was hit, he said.