What’s left of the former investment bank Lehman Brothers will be responsible for $2.38 billion in compensation to hedge funds and institutional investors who were hurt by the bank’s actions leading up to the financial crisis a decade ago.

U.S. Bankruptcy Court Judge Shelley Chapman of the Southern District of New York ruled from the bench Thursday, in what was a win for Lehman’s legal team. The trustees of more than 230 residential mortgage-backed securities trusts argued at trial for $11.4 billion worth of claims against Lehman. The trustees claimed breach of contract on nearly 71,000 loans.