MONCTON, N.B. - A New Brunswick man caught distributing a collection of child pornography has been sentenced to six years in prison.

Roger Joseph Williams of Irishtown pleaded guilty in November 2011 to seven offences.

The charges included possession of child pornography, distribution of child pornography, making child pornography, touching for a sexual purpose and invitation to sexual touching involving two victims.

Police say Williams's collection of pornography included images of children who ranged from infants to teens.

The 51-year-old man was arrested in October 2011 following a year-long investigation.

He was sentenced Thursday in provincial court in Moncton.