The U.S. District Court in Greenbelt. Credit: Joe Zimmermann

A Rockville man who prosecutors say took pornographic photos of a child in his basement and shared them online was sentenced to serve 10 years in prison Monday.

Kevin Miller, 59, had been indicted last April on federal charges of production, possession and two counts of distribution of child pornography in connection to photos taken in Rockville in 2016 and other images found on his computer, according to the U.S. Attorney’s Office in Maryland. He pleaded guilty to one count of distributing child pornography.

Miller also allegedly made dozens of videos and images of child pornography available on a file sharing program, but officials did not indicate that he produced those images or videos himself.

Judge Roger W. Titus sentenced Miller in the U.S. District Court in Greenbelt and ordered him to register as a sex offender upon release.

The case against Miller began with another person’s arrest on child pornography charges in Washington state on Dec. 2, 2016, according to court documents. Investigators discovered that three images on the person’s devices were geo-located to Miller’s Rockville home. The pictures, taken in April, 2016, depicted a then-10-year-old girl.

Investigators determined Miller took the photos in his basement on his iPhone, according to the plea deal. A day after he learned law enforcement agents were investigating the pictures, Miller bought a new iPhone.

That same day, Dec. 22, 2016, Homeland Security Investigations agents searched Miller’s house on a warrant and found 36 images of child pornography and child erotica, the plea deal states. There were other remnants of files “with names indicative of child pornography,” according to the documents.

In February, the person arrested in Washington—whom the documents do not name—told law enforcement officials they had met Miller online and Miller shared the images through a chat application.

In a separate investigation, the Worcester County sheriff’s office found Miller had made at least 67 videos and 31 images of child pornography available on a peer-to-peer file-sharing program, according to court documents.