A 28-year-old Rome man was sentenced to 12 years, 6 months in prison Thursday for distributing child pornography, the U.S. Attorney's Office announced.

Michael Zachary Allmon's prison sentence will be followed by supervised release for the rest of his life, authorities said.

“This defendant amassed a huge collection of images and videos of young boys and distributed those images to others," U.S. Attorney Sally Quillian Yates said in a news release. "He has fueled a market for these horrendous images and has earned a substantial prison sentence.”

An undercover agent downloaded pornographic images of children in September 2010 from Allmon's collection that was available to the public through file-sharing software, authorities said. Allmon later admitted to the FBI that he shared his collection online.

The investigation also determined that Allmon pretended to be a teenage boy during sexually explicit online conversations with a minor in another state and exchanged pornographic images with him, authorities said.

Allmon pleaded guilty in January.