Accounting giant KPMG and investors seeking nearly $500 million in damages caused by the firm’s fraudulent tax shelters settled a suit a week before it was to be tried in Fulton County State Court.

The case was one of the last—and largest—Georgia outgrowths from KPMG’s admission in 2005 that it sold the bad shelters—and paid the U.S. Department of Justice hundreds of millions of dollars to avoid criminal charges.