AUSTIN (KXAN) – Police say a fake cop used his “pretended official authority” to barge through a McDonald’s drive-through line and threaten patrons in East Austin early Wednesday morning.

Thomas Joshua Martin, 35, has been charged with impersonating a public servant, a third-degree felony, according to an arrest warrant.

A witness behind Martin in the McDonald’s line was told by an employee to pull around Martin’s vehicle, a Dodge Charger with black and white paint and emergency lights that seemed to be a police cruiser. That’s when Martin stuck his head out of his car window and yelled at the witness, according to the affidavit.

“Do you want to end up in the back of my car,” Martin said to the man as he moved around him in the line, the affidavit states. Martin also told the witness he was doing something “illegal.”

The McDonald’s is located near the intersection of East Riverside Drive and East Pleasant Valley Road.

Police said Martin then pulled up to the drive-through window and asked a McDonald’s employee for his food. The employee informed Martin that he hadn’t ordered anything yet.

While speaking with the employee, Martin activated his overhead lights and said “come outside, and I’ll take you downtown,” which scared the employee, according to the affidavit.

Martin told a separate employee if he got his order wrong he would take him to jail, police said.

“Martin attempted to impersonate a public servant (peace officer) by intending to induce [the witness], and said employees, to submit to his pretended official authority,” police said in the affidavit.