NEW YORK (CBSNewYork) — A Long Island woman has been charged with attempted murder after an NYPD officer was shot in the head with a pellet gun in Jamaica, Queens, earlier this week.

Police said a plainclothes detective was driving an unmarked car with a plainclothes sergeant in the passenger seat at around 5 p.m. on Wednesday. They were on patrol and about to turn left on 168th Street when the shooting happened.

“They heard a loud popping sound coming from the driver’s side of the vehicle. the officer on the passenger side observed her partner bleeding from the forehead,” NYPD Chief David Barrere said.

Tiara Ferebee, 24, of Riverhead, was arrested following a massive police response, CBS2’s Magdalena Doris reported.

Immediately after the shooting, detectives scoured the crime in search of the driver of a brown 2015 Nissan that police believed the shooter was driving in at the time of the incident. The discovery of a Missouri license connected to the vehicle and surveillance photos led to the arrest.

Ferebee is now facing several other charges also, including assault on a police officer with a deadly weapon, assault on a police officer, criminal possession of a weapon-loaded firearm, and reckless endangerment.

The detective was not seriously hurt.

1010 WINS’ Carol D’Auria reports police said Ferebee is not cooperating, so there is currently no motive.

Ferebee is expected to face a judge on Sunday.