NYPD officer shot in the head, dies in hospital

Emergency personnel stand near the scene where a police officer was fatally shot while sitting in a marked vehicle in the Bronx section of New York, Wednesday, July 5, 2017. Police said Officer Miosotis Familia died at a hospital early Wednesday. (AP Photo/Seth Wenig)

(CNN) A police officer was fatally shot early Wednesday as she sat in a command vehicle in New York, authorities said.

Miosotis Familia, 48, was shot just after midnight while she and her partner were sitting in a police command vehicle in the Bronx. She was taken to St. Barnabas Hospital, where she died, the New York Police Department said.

Police are calling it an “unprovoked attack.”

The suspect, Alexander Bonds, 34, allegedly drew a revolver as officers confronted him. He was shot and killed by police about a block away, police Commissioner James O’Neill said.

Police said Familia was a 12-year veteran working in the 46th Precinct.

New York Mayor Bill de Blasio praised the officers’ efforts during a press conference Wednesday morning.

“She was on duty, serving this city, protecting people, doing what she believed in and doing the job she loved,” de Blasio told reporters. “After this sudden and shocking attack, her fellow officers came to her aid immediately.”

An apparent bystander was struck by a bullet during the encounter, police said. The person, who was not identified, is in stable condition at a local hospital.

Police said they recovered a silver revolver at the scene. The motive behind the shooting is unclear. The investigation is ongoing.

CNN’s Nicole Chavez and Kristina Sgueglia contributed to this report.