Software maker Zendesk Inc agreed to be acquired by a group of buyout firms led by Hellman & Friedman and Permira for about $9.5 billion.

The all-cash transaction offers shareholders $77.50 a share, a premium of 34 percent over Zendesk’s closing stock price on Thursday, the company said in a statement on. Including debt, the deal is valued at about $10.2 billion. The announcement comes after Zendesk said earlier this month that it would remain independent after failing to find a potential buyer.

The San Francisco-based company said June 9 that it would no longer seek to sell itself after a strategic review that reached out to 16 potential strategic partners and 10 financial sponsors. Ultimately, “no actionable proposals were submitted,” Zendesk said in a statement, and final bidders cited “adverse market conditions and financing difficulties at the end of the process.”

In February, Zendesk received an unsolicited takeover offer from buyout firms that valued the company at $127 to $132 a share. Those firms included Hellman & Friedman, Advent International and Permira, Bloomberg reported. That offer came a few weeks before Zendesk dropped its effort to buy SurveyMonkey’s parent, Momentive Global Inc., saying it failed to garner the necessary support from its shareholders to go through with the acquisition.

Zendesk had agreed to buy Momentive in October in an all-stock transaction valued at roughly $4 billion at the time. The transaction was met with a dramatic sell-off in both companies as investors balked at the tie-up. Zendesk shareholder Janus Henderson Group Plc came out against the acquisition and Jana Partners, an activist investor, also urged shareholders to reject the deal.

Zendesk, which makes customer service software, had said it would gain from Momentive’s market research products.