PORTLAND, Maine — A 56-year-old Berwick man was sentenced to two years in prison Wednesday in U.S. District Court for possessing child pornography.

During a hearing before Chief Judge Nancy Torresen, Peter Anderson also was ordered to undergo five years of supervised release upon completion of his prison term and pay $5,000 to each of three victims who sought restitution.

Anderson pleaded guilty to the charge April 10.

According to court documents, law enforcement officers on April 23, 2014, executed a search warrant at Anderson’s residence and seized laptops, USB drives and DVD discs containing 105 movie or video files and 430 image files depicting child pornography.

Of those files, the National Center for Missing and Exploited Children identified 194 images and 33 videos from 59 series depicting known minor victims. Anderson admitted he downloaded child pornography for several years for sexual gratification and shared it online.

During Wednesday’s sentencing, Torresen told Anderson his crime was serious because the production of child pornography ruins the lives of innocent children. The victims described how the knowledge that people took pleasure from viewing pictures of their torture was hurtful.

Torresen also noted that the mere possession of child pornography contributes to the exploitation and rape of children by creating demand for the exploitive images.

The investigation that led to Anderson’s conviction was conducted by the Federal Bureau of Investigation, with assistance from the Maine State Police Computer Crimes Unit.