A California appellate court has ordered Gov. Jerry Brown to return about $330 million from the state’s general fund to a settlement fund created to help distressed homeowners in the wake of the foreclosure crisis.

The ruling is a win for litigators at Jenner & Block and their clients, three groups that assist low-income and minority homeowners—the National Asian American Coalition, COR Community Development Corp. and the National Hispanic Christian Leadership Conference.