A federal judge in Delaware gave final approval late Monday afternoon to a $210 million settlement in a shareholder class action accusing Wilmington Trust Corp. of hiding hundreds of millions of dollars in bad loans from regulators and investors.

U.S. District Judge Eduardo C. Robreno of the Eastern District of Pennsylvania, sitting by designation in Delaware, said in a 20-page memorandum that the agreement, first struck in May, brought a fair resolution after eight years of civil litigation against the century-old Delaware institution over its reporting practices. Under the settlement, Wilmington Trust will pay $200 million, and auditing firm KPMG will pay $10 million.