Kaseya Ltd. has agreed to buy software maker Datto Holding Corp. in a deal valued at about $6.2 billion.

The offer of $35.50 per share represents a 52 percent premium to Datto’s stock price of $23.37 as of March 16. The all-cash transaction will be funded by an equity consortium led by Insight Partners Inc., with investment from TPG Capital and Temasek. Private equity firm Vista Equity Partners owned 69 percent of Datto’s shares as of Dec. 31, according to data compiled by Bloomberg.

Last month, Bloomberg reported that Datto was exploring strategic options after receiving takeover interest.

Customers of Norwalk, Connecticut-based Datto include small to midsize companies that buy its software for security, data recovery and cloud backup.

Led by Chief Executive Officer Tim Weller, Datto was founded in 2007, according to its website. It acquired smaller rivals Backupify in 2014 and Open Mesh in 2017. It was bought by Vista later that year and merged with New York-based Autotask Corp. In January, Datto acquired cybersecurity company Infocyte to bolster its offerings.

The transaction is expected to close in the second half of this year.

Miami-based Kaseya provides information-technology software. The company raised more than $500 million in 2019 from backers including TPG and Insight, according to a statement at the time.