UPDATE (8/31): Aceves was sentenced Tuesday to 16 months in prison.

BAKERSFIELD, Calif. (KGET) (8/4) — A man accused of brandishing a knife and calling employees “terrorists” at a restaurant on Niles Street has pleaded no contest to a felony threat charge.

Adrian Aceves, 33, pleaded no contest to a count of threatening with the intent to terrorize and a second count was dismissed, according to court records. Also dismissed was a charge of willful cruelty to a child.

He faces 16 months in prison at his Aug. 31 sentencing.

Aceves was arrested July 7 after employees at the Kings Drive-In on Niles Street said he approached them and asked their nationality. When he learned one of the employees was Arab, Aceves pulled a knife and said he wanted to harm them because they were terrorists, employees told police.

Aceves had an active arrest warrant for violating post-release supervision when the incident occurred, police said.