A man who was beaten by employees of a store he was trying to rob is now suing.

Police say Dana Buckman entered the AutoZone in Rochester, New York, last July, brandished a semi-automatic pistol and demanded cash.

That's when employees Eli Crespo and Jerry Vega beat him with a pipe and held Buckman at bay with his own gun.

Buckman escaped when they retreated into the store to call 911, but he was arrested a week later. He pleaded guilty to first-degree robbery and was sentenced to 18 years in prison as a repeat violent felon.

Now Buckman is suing the auto parts store and the two employees who beat him, claiming they committed assault and battery and intentionally inflicted emotional distress.