A Locust Grove man found guilty on 161 counts of possessing child pornography was sentenced to 1,245 years in prison Tuesday.