A Long Island man was arrested on Friday, Aug. 16, after he allegedly tried to pull over a van while impersonating a police officer except the problem was: the van was filled with real detectives.

Nassau County police said 25-year-old Valiery Portlock was driving his black Nissan Sentra on Long Island, New York, at around 11 a.m. on Friday when he tried to pull over a van, turned on his air horn and flashed emergency lights.

That van was full of detectives from the Nassau County Police Department’s electronics squad.

The detectives identified themselves and tried to approach Portlock’s car.

That’s when Portlock tried to flee the scene, swerving into oncoming traffic and eventually speeding onto the Long Island Expressway, where he was stopped by the highway patrol, police said.

Portlock was arrested without incident and charged with criminal impersonation in the first degree, as well as reckless endangerment and fleeing the police. He was released from custody on his own recognizance following an arraignment on Saturday.