PORTLAND — A New Gloucester man was sentenced to 25 years in prison following a guilty plea to producing and possessing child pornography, including images of him abusing a 4-year-old boy.

Christopher Veazie, 22, was sentenced today in U.S. District Court in Portland by Judge George Z. Singal. After his release, Veazie will have 15 years of supervised release.

When arrested in 2011, Veazie had more than 2,000 pictures and 400 videos containing child pornography on his laptop computer. The images includes a 4-year-old boy who was known to Veazie and who Veazie had filmed while sexually abusing him, prosecutors said.

Veazie was arrested following an investigation by Lisbon police and the United State Secret Service.