TD Bank avoided another potentially messy civil trial arising from a lawsuit brought by a group of cheated Scott Rothstein investors by settling the case for an undisclosed amount.

U.S. District Judge Joan Lenard in Miami previously agreed to allow New York-based Emess Capital Inc. to seek triple damages under the federal civil racketeering statute. The investment group was originally seeking $33 million in damages plus $5 million in interest for losses in Rothstein’s Ponzi scam.