LOUISVILLE, Ky. (WDRB) -- Kentucky State Police say they've arrested two men in connection with an online child pornography investigation.

According to an arrest report, police were conducting an undercover investigation, when they discovered that child pornography was being advertised from an Internet-accessible device associated with 59-year-old Anthony Crockett.

Police say they then executed a search warrant at Crockett's home on Duncan Street, near the intersection with N. 22nd Street, at about 8 p.m. on Thursday. While searching, they allegedly found 20 computer files related to child sexual exploitation.

Crockett was arrested and charged with 20 counts of possession of matter portraying a sexual performance by a minor.

Police say they also arrested 39-year-old John D. Pierce at the home, after they allegedly found one file related to child sexual exploitation on a device that belonged to him. Pierce is charged with one count of possession of matter portraying a sexual performance by a minor.

Both men are currently being held at Louisville Metro Corrections.

Copyright 2016 by WDRB News. All rights reserved.