A BigLaw mergers and acquisitions attorney stole confidential firm information in an insider trading scheme that netted him and two accomplices $32 million in illicit profits over a 17-year span, federal prosecutors in Newark charged in a complaint announced on Wednesday.

Matthew Kluger, until March 11 a senior associate at Wilson Sonsini Goodrich & Rosati’s Washington, D.C. office, stole information from that firm and two prior ones — Skadden, Arps, Slate, Meagher & Flom and Cravath Swaine & Moore — and shared it with a middleman and a Wall Street trader who made large investments ahead of deal announcements, the complaint said.