A middle-aged man was injured by an off-duty police officer in Northeast D.C. May 29 after trying to steal a bag of crab legs, according to reports.

Anhtuan Phu Pham, 47, was shot by Theodore Dyson, a 26-year veteran of the police force, who was working as a security guard in a Giant Food Store in the 300 block of H Street. According to police, Pham was confronted by the officer around 6:30 a.m. with what looked like a concealed weapon. According to reports, the officer tried to stop him from shoplifting and then Pham drew a gun on the officer. An investigation into the incident revealed that the weapon was a replica of a gun.

Pham was arrested and charged with assault on a police officer and shoplifting. He was listed as in critical condition at a local hospital as of May 31.

According to the Washington Post, Pham pled guilty in 2009 to attempted first-degree child sex abuse and served six years in prison and 10 years of supervised release.

According to the police department, the area of the incident has seen four thefts during 2016, a 69 percent decrease from the same time last year. There have not been any homicides in the area so far.