Shareholders and directors paying that money out of personal wealth. To be honest, I don't know whether it actually was a bargain, but it probably is. Goldman seem to make vast sums of money and routinely factor in 11 digit legal bills as a matter of course. They appear to break the law knowing that their eventual bill will be considerably less than their overall profits and even better - no one has to go to jail.