Keefe, Bruyette & Woods and Sandler O'Neill & Partners commanded the market for bank M&A advisory in 2014, according to data published Wednesday by SNL Financial.

KBW topped the rankings for total deal value, after coming in third in 2013. The firm oversaw acquisitions totaling $8.3 billion last year, compared with $3.8 billion a year earlier.

Sandler O'Neill ranked second for total value. Sandler advised $6.1 billion in deals in 2014, a 5% decrease from the previous year, when it ranked first with $6.4 billion in transactions.

JPMorgan Securities dropped to fourth place from No. 2. The unit of JPMorgan Chase advised acquisitions worth $3.4 billion in 2014, down 42% from a year earlier, when it oversaw $5.9 billion in deals.

In terms of the number of deals completed, Sandler O'Neill topped the list with 58 deals. KBW came in second, advising 46 transactions.

SNL's legal rankings were led by Wachtell Lipton Rosen & Katz. The New York law firm offered counsel for acquisitions worth $8.1 billion, a 59% increase from a year earlier.

Cleary Gottlieb Steen & Hamilton in New York took second place, closing $4.1 billion in bank deals. The firm was not included in SNL's financial adviser rankings for 2013.

Subscribe Now

Access to authoritative analysis and perspective and our data-driven report series.

14-Day Free Trial

No credit card required. Complete access to articles, breaking news and industry data.