In this case he narrowly avoided trial by agreeing to pay significant restitution to his victims, do community service, and attend a legal ethics education course. He is a rich person with significant resources, he would not have agreed to this settlement if there wasn't a good chance of conviction.