A man, armed with a BB gun, attempted to rob a Waffle House in Villa Rica, Georgia. But he was the one who ended up getting shot, authorities said.

>> Read more trending news

The suspect entered the restaurant around 12:30 a.m. Thursday and pointed his weapon at employees, Villa Rica police said in a Facebook post.

A customer then shot the suspect, who dropped what turned out to be a BB gun and ran away, the post said.

Witnesses told police the suspect left in a small, dark-colored vehicle.

Anyone with information is asked to contact Villa Rica police at 678-840-1320.