SALT LAKE CITY (AP) – Salt Lake City police say they arrested a man who approached uniformed officers to offer them drugs.

Authorities say the officers were wearing their uniforms but riding in an unmarked police vehicle around 1 a.m. Sunday when the 31-year-old suspect flagged them down and asked what they wanted, referring to drugs.

The officers asked for a specific drug, and the suspect approached the vehicle before he realized his potential buyers were actually police.

Authorities say the suspect fled on foot but was captured shortly after and found with cocaine and heroin.

He was booked on suspicion of distributing a controlled substance and failing to stop for an officer.

Copyright 2014 The Associated Press.