(CNN)A Florida man allegedly pretending to be a police officer pulled over the wrong car.
Barry Lee Hastings Jr., was driving a black vehicle with white and amber lights late Thursday night when he spotted the car of an off-duty Lee County sheriff's deputy and activated emergency lights, the Hillsborough County Sheriff's Office said.
Hastings told the deputy he needed to "slow down."
The deputy twice asked Hastings for his credentials. Hastings responded that he was "a law enforcement officer and his credentials were at the office," the sheriff's office said.
"He told the deputy he could follow him back to the 'station' so he could obtain and show him his credentials," the sheriff's office said..
Hastings tried to flee after the deputy called 911 but was stopped and arrested by a Hillsborough County sheriff's deputy.
A functional siren box and light set up similar to the ones used by Hillsborough County officers and a CB radio were found in the car, the office said.
Hastings was arrested for impersonating a public officer, the office said.
Hillsborough County is part of the Tampa-St. Petersburg-Clearwater metro area. Lee County is farther south.