NEWPORT NEWS, Va. (WVEC) -- A 23-year-old man was sentenced to 35 years in prison for production of child pornography Wednesday.

Ernesto Rodriguez Hernandez pleaded guilty in April.

According to court documents, Hernandez used two juvenile girls to produce child pornography.

Hernandez spoke with, and received images of the girl through Facebook Messenger.

Police searched Hernandez's home in December 2016. An examination of his computer showed more videos and images of child pornography.

Through the search, forensics was able to identify a second victim that Hernandez used to produce more images of child pornography.