A real police officer was pulled over by a man impersonating one in California Thursday.

>> Read more trending news 

Imroj Singh, 23, turned on red and blue flashing lights, unknowingly pulling over a Rancho Cucamonga detective in an unmarked vehicle, KGO reported.

When the detective put his lights on, Singh sped off, KGO reported. He eventually stopped and told investigators he got the light setup online and had them installed to give the impression his Jeep was a law enforcement vehicle.

Singh was arrested and charged with impersonating an officer. Investigators believe he may have used the lights to stop other citizens.