A former South Dakota sheriff's deputy who pleaded guilty to child pornography is heading to prison.
A judge sentenced 27-year-old William Wray to 30 years in prison on Monday.
Wray was arrested in January and suspended from duty as a Pennington County deputy after the mother of a boy filed a complaint.
Wray eventually was indicted on 28 counts and fired. In June, Wray pleaded guilty to six counts of possessing, manufacturing and distributing child porn
At Monday's sentencing, Wray said he would do anything to take back what he did and asked for a chance to make things right. He also asked the victim's family for forgiveness.