The judge will often sentence a person to punishment.