An Anchorage man has been sentenced to five years in prison, after being convicted of possessing child pornography in a case more than two years old.

The prison term for Kenny Gregory, 29, was handed down Friday by U.S. District Judge Sharon Gleason, according to U.S. Attorney for Alaska Bryan Schroder's office.

Prosecutors said in a statement that Gregory had been sending emails to an undercover agent for two years starting in 2016. During the correspondence, Gregory sent a link to a photo-sharing website with child pornography.

"I hope you give me something nice," Gregory wrote, according to court documents. "In return I'll let you see my stuff. Here you go and have fun."

Gregory also sent an explicit video of a young girl to the undercover agent.

During the investigation, officers found hundreds of photos and videos of child porn on Gregory's cell phone.

At Gregory's sentencing, prosecutors said, Gleason told him of the harm he has caused. She also said the sentence was meant to send a message to anyone downloading explicit images involving children.

After serving his sentence, Gregory will spend 20 years on supervised release.

Copyright 2019 KTVA. All rights reserved.

RELATED STORIES: