NEWARK, N.J. (AP) — An elderly New Jersey man who had thousands of child sex abuse images and videos on his home computer has been sentenced to more than eight years in prison.

Mark Derzko must also register as a sex offender and pay $24,000 in restitution as part of the 97-month sentence imposed Tuesday. The 74-year-old Mine Hill man had pleaded guilty in May to distributing child porn.

Federal prosecutors say Derzko used a peer-to-peer file-sharing program to download the videos and images.

Law enforcement officials downloaded more than two dozen videos from Derzko's computer in 2016. They eventually found more than 2,000 videos and over 8,000 images when they executed a search warrant at his home in October 2016.