A federal appeals court has cleared Mayer Brown of a proposed class action accusing the firm of negligence and malpractice over a mistake made in 2008 in connection with a $1.5 billion loan extended by JPMorgan & Co. to General Motors Corp.

Ruling on Wednesday, the U.S. Court of Appeals for the Seventh Circuit found that Mayer Brown couldn’t be held liable for putative class claims brought against the firm by a group of pension funds that participated in the GM loan as syndicate lenders.