Judges decide the length of prison sentences.