‘You’ve had a very difficult life,’ the judge said. ‘Hopefully, the progress you’ve made in jail to this date has set you on the right path’