A Leavenworth man has been convicted of trying to take video from underneath a girl's dress at a local store, according to a prosecution official.

A Leavenworth man has been convicted of trying to take video from underneath a girl's dress at a local store, according to a prosecution official.

Thomas Edward Campbell, 56, was found guilty Tuesday of one count of attempted breach of privacy-eavesdropping, following a jury trial in Leavenworth County District Court.

The Leavenworth County Attorney’s Office filed charges after an Aug. 8, 2017, incident at the Walmart store in Leavenworth.

The parents of a 7-year-old girl reported that an unidentified man had been in a toy aisle with the child, and he was seen by a witness with his phone in a camera mode pointed underneath the girl’s dress.

On Aug. 20, 2017, Campbell reportedly was caught in the gift card aisle at Walmart videoing underneath the dress of an adult woman, according to a news release from County Attorney Todd Thompson.

Authorities found no videos or photos of the 7-year-old girl from the Aug. 8, 2017, incident.

Walmart employees reviewed surveillance video of the second incident, and compared it to surveillance images from the Aug. 8, 2017 incident. It was determined that Campbell was the suspect in the video of the earlier incident. He was also identified in a lineup by the witness who saw him in the toy section Aug. 8, 2017.

Sentencing in the case has been set for Oct. 9.

"This is a horribly unintended consequence of modern technology," Thompson said in the news release. "Sadly, this is something people need to be aware could happen to them."

In 2011, Thompson supported legislation in Kansas that resulted in an increased penalty for people who eavesdrop on children.