The next time you take your drone out for a spin, stay clear of police helicopters.
The Los Angeles City Attorney’s office said on Tuesday that it filed criminal charges against a 57 year-old man who allegedly flew a drone too close to a police chopper during an investigation on August 27.
At the time, officers were looking for a suspect in Hollywood, and called for a helicopter to help with the search, the Los Angeles Times reported. When the drone entered the patrol area, the helicopter had to alter its flight path and stop the search, the Los Angeles city attorney said.
The Los Angeles Police Department traced the drone to Martin Sheldon, who they said was piloting the device from a nearby parking lot.
“Using a drone to interfere with a police investigation places our officers and the public at serious risk,” Los Angeles City Attorney Mike Feuer said in a statement. “My office will hold those who recklessly operate these devices accountable for their actions.”
Sheldon faces two counts of obstructing a peace officer, and if convicted, could spend up to one year in jail.
The news is the latest example of consumer drones causing a nuisance to public safety officials. Earlier this summer, firefighters briefly grounded an aircraft fighting a Southern California wildfire after five drones reportedly flew nearby.
Subscribe to Data Sheet, Fortune’s daily newsletter on the business of technology.
For more on drones, check out the following Fortune video: