A New York City police officer was recovering Sunday after being shot in the head while attempting to stop a man he suspected of carrying a handgun.
The incident is the fifth shooting of a New York City officer in as many months, officials said.
Officer Brian Moore, 25, underwent surgery after being rushed in a patrol car to a Queens hospital Saturday evening after he and his partner pulled up in an unmarked police car to a man who was adjusting his waistband suspiciously, police Commissioner William Bratton said.
The officers exchanged words with the man before he turned suddenly and fired at least twice, striking Moore, Bratton said. His partner, Officer Erik Jansen, 30, radioed for help.
"They did not have an opportunity to get out and return fire," the commissioner said at a Saturday night news conference at Jamaica Hospital Medical Center with Mayor Bill de Blasio and other officials.
Law enforcement flooded the Queens Village neighborhood following the shooting -- police helicopters flew overhead, officers searched house by house and some could be seen walking on roofs. About 90 minutes later, police arrested Demetrius Blackwell, 35, near the crime scene in a house on the block where he lives, officials said.
Blackwell was charged with attempted murder and criminal possession of a weapon, police said Sunday morning.
No weapon was found.
After the shooting, witnesses described Blackwell to responding officers and pointed them in the direction he ran, Bratton said.
De Blasio said the shooting was a painful reminder of the risks officers take every day.
"Our hearts are with his family, his loved ones," the mayor said. "Our hearts are with his extended family, the men and women of the NYPD."
Moore, who comes from a family of police officers, has been on the job since July 2010.
The shooting instantly evoked fears of the December slayings of two uniformed officers as they sat in their patrol cars in Brooklyn by a man who posted online that he was seeking retribution against officers for the death of Eric Garner in an apparent chokehold by police.
The shootings of Officers Wenjian Liu and Rafael Ramos strained an already tense relationship between city police unions and de Blasio. Patrolmen's Benevolent Association President Patrick Lynch turned his back on the mayor at a hospital the day of the killings and said de Blasio had "blood on his hands."
But Saturday night, Lynch was among the officials who attended the news conference and could be seen shaking the mayor's hand and speaking briefly with him afterward.
Bratton said Blackwell has a criminal record that includes a weapons possession charge, but the suspect made no such anti-police postings and was being pursued by the anti-crime officers because of his behavior.
Neighbors near the scene of the shooting were surprised by the violence and described the residential area with many two- and three-family homes as quiet and safe.
"You walk down the street, no trouble," said Sandreaus Adam, 52. "This is not a neighborhood where you're just going to hear shots."
The Associated Press contributed to this report.