He basically wore down the prosecutors with appeals and the extorted them into giving him lighter sentence in exchange for paying out $41 million that he had stolen from the people he was paying back.
Hooray for justice for all, not just the wealthy!