NEWARK, N.J. – A 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, N.J., charged in a complaint announced yesterday.

Matthew H. Kluger, until March 11 a senior associate at Wilson Sonsini Goodrich & Rosati’s Washington, D.C., office, stole information from that firm and two firms where he had been an associate—Skadden, Arps, Slate, Meagher & Flom and Cravath Swaine & Moore. The information was then shared with a middleman and a Wall Street trader who made large investments ahead of deal announcements, according to the government’s complaint in United States v. Bauer, 11-3536, which was filed in New Jersey District Court.