U.S. Bankruptcy Judge Raymond Ray approved a final liquidation plan Thursday for Ponzi schemer Scott Rothstein’s defunct law firm, clearing the way for the distribution of $80 million to investors by Labor Day.

The ruling by the Fort Lauderdale judge ends nearly four years of messy and expensive litigation that involved nearly every top bankruptcy lawyer in South Florida.