A retired Hamilton County Sheriff's Department deputy uploaded child pornography to the Pinterest social media site, prosecutors said.

David A. Wyler, 65, faces five felony counts of possession of child pornography after authorities say they found explicit images of children on his smartphone, records show.

Lt. James Semester, a spokesman for the Carmel Police Department, said that Wyler is a retired Hamilton County deputy.

According to a probable cause affidavit:

The Hamilton County Metro Child Exploitation Task Force began investigating after receiving a tip from Pinterest that Wyler in March uploaded two images of boys with bare buttocks to the social media site that is better known for decorating tips, fashion advice and recipes.

Carmel Police Department Detective John Pirics met Wyler at his Carmel home on July 18. Wyler admitted to Pirics that he viewed child pornography and operated Pinterest boards named "Young Boys" and "Young Girls," among others.

Police found five explicit images of prepubescent girls on Wyler's phone. He was charged with possessing child pornography on July 18.

Wyler is scheduled to appear in Hamilton Superior Court on Oct. 3. A jury trial is scheduled for Jan. 7.

Contact IndyStar reporter Vic Ryckaert at 317-444-2701 or vic.ryckaert@indystar.com. Follow him on Twitter: @VicRyc.

Contact IndyStar reporter London Gibson at 317-444-6043 or lbgibson@gannett.com. Follow her on Twitter @londongibson.