A Fort Wainwright soldier was sentenced today to 32 years in prison for possessing thousands of images of child sexual abuse material (CSAM) and for producing CSAM.