A 45-year-old man is accused of printing photos of naked underage girls at a self-serve kiosk at Walmart.

Anthony Leitch, 45, was arrested after a Walmart employee caught him processing the pornographic images, according to the Alamogordo News. The employee says Leitch entered his name as Tony Smith at the kiosk before inserting an SD card into the machine. He processed seven photos, which accidentally printed at the store's photo counter.

The police report states that four of the seven photos included naked girls between the ages of 8 and 12. The photos were believed to have been taken in the local area.

Video surveillance footage helped police track down Leitch, who fled the store after the images printed at the counter. He was arrested at a traffic stop.

Leitch admitted only to taking the photos that featured a girl who was clothed.

Investigators conducted a search of Leitch’s home and recovered property that will be forensically examined.

Leitch is being held at the Otero County Detention Center on a $20,000 bond.