A previously convicted sex offender receives the maximum sentence after pleading guilty to sexual exploitation of a child.