Large teams from Kirkland & Ellis and Wachtell Lipton Rosen & Katz played leading roles in Bristol-Myers Squibb’s $74 billion acquisition of Celgene Corp. announced Thursday.

The deal is uniting the two drugmakers, which are both engaged in a competitive market for new cancer treatments.

Kirkland represented BMS in the massive deal, which could amount to the largest merger in the pharma industry ever if approved by shareholders and regulators.

Kirkland’s team on the deal was led by corporate practice partners Daniel Wolf, Jonathan Davis, Ryan Brissette, and David Fox, according to a statement from the firm. That group was aided by nine additional partners from the firm’s capital markets, debt finance, IP, tax, antitrust, and executive compensation practice groups.

Celgene was represented by Wachtell corporate partners Steven Cohen, David Lam, and Edward Lee, with help from five other partners, one of counsel, and seven associates, according to a firm spokesperson. Those attorneys came from Wachtell’s corporate, executive compensation, antitrust, tax, and restructuring and finance groups.

If the deal goes through, Celgene shareholders will receive a single BMS share and $50 in cash for each share of Celgene, according to a separate press release on the deal.