MITCHELL - A South Dakota man accused in a child pornography case was sentenced to 10 years in prison after a judge ignored a plea agreement that called for less time behind bars.

Fifty-five-year-old Mark Johnson, of Mitchell, pleaded guilty earlier to two counts of attempted possession of child pornography. The plea deal called for Johnson to serve a total of five years in prison.

The Daily Republic of Mitchell reports that Judge Tim Bjorkman cited Johnson's lengthy history of sex-related crimes before handing down the sentence. Johnson has twice been convicted of sexual contact with a minor.

The judge said he would have given the defendant more time in prison if he could.

The judge recommended that Johnson have access to treatment, which was requested by defense attorney Donna Bucher.

Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

More From KSOO-AM / ESPN Sioux Falls