A Madison County man was sentenced Monday to eight years in prison for collecting more than 177-thousand images of child pornography on his home computer.