Thoma Bravo, a software investment firm, has completed its acquisition of Medallia, a global provider of customer and employee experience services, in an all-cash transaction valued at $6.4 billion.

Subject to the terms of the merger agreement, Medallia shareholders will receive $34.00 per share in cash, which represents a premium of approximately 20 percent to Medallia’s unaffected closing stock price on June 10, the last full trading day prior to media reports regarding a possible transaction, and a premium of approximately 29 percent to Medallia’s unaffected 30-day average price.

“The close of this transaction is an important milestone in Medallia’s history as we embark on our next chapter of growth as a private company,” said Leslie Stretch, president and CEO of Medallia. “I am incredibly proud of all that we have achieved since our founding in 2001 and am confident that our new partnership with Thoma Bravo will catalyze Medallia’s ability to deliver continued innovation to the market, bolster our position as an innovation leader and set us apart as we maximize value for our stakeholders.”

“With its best-in-class SaaS platform and AI capabilities, Medallia is leading and redefining the experience management market,” said Scott Crabill, a managing partner at Thoma Bravo. “We are excited to officially join forces with the Medallia team and look forward to working together to expand the company’s customer reach and begin a new phase of differentiated growth.”

“We are thrilled to support Medallia’s long-term growth and leverage Thoma Bravo’s operational and software expertise to capitalize on a rapidly growing market opportunity in experience management,” added Peter Stefanski, a principal at Thoma Bravo. “Leslie and his team have built the leading company in the sector and we’re confident that our partnership will help the company achieve even greater success.”

Morgan Stanley & Co. LLC is serving as lead financial advisor to Medallia, and BofA Securities and Wells Fargo Securities are also serving as financial advisors. Wilson Sonsini Goodrich & Rosati PC is serving as Medallia’s legal advisor. Kirkland & Ellis LLP is serving as legal advisor to Thoma Bravo. Debt financing for the transaction is being provided by Blackstone Credit, certain funds managed by affiliates of Apollo Capital Management LP, KKR Credit, Thoma Bravo Credit and Antares Capital.