The night before litigators in a legal malpractice lawsuit trial against Greenberg Traurig were to present closing arguments after a seven-week trial, the law firm and its former client, Dyadic International, agreed to settle.

Greenberg was the last of four law firms to settle the case Dyadic filed in 2009 against its outside accounting firm and legal firms. The company had alleged that Greenberg and the other defendants were responsible for destroying its value in 2007 by improperly recommending it halt trading and withdraw financial statements filed with the Securities and Exchange Commission after discovering possible fraud at the company’s Asia operations.