(Reuters) - EBay Inc EBAY.O will sell ticketing unit StubHub to ticket reseller Viagogo Ltd for $4.05 billion in cash, the companies said on Monday, nearly a year after the ecommerce major came under pressure from activist investors to hive off some of its businesses.

In January, activist investors Elliott Management Corp and Starboard Value had urged eBay to sell its ticket sales business and eBay Classifieds Group as part of a plan that could double the company’s value.

Elliott valued StubHub between $3.5 billion and $4.5 billion, while eBay Classifieds between $8 billion and $12 billion.

Viagogo Chief Executive Officer Eric Baker had co-founded StubHub but left before the business was sold to eBay for $310 million in 2007.

Following the activist investors’ request, eBay made changes to its board of directors in March. It announced a review of its StubHub and eBay Classifieds businesses as part of an agreement with activist investors to avert a proxy contest.

Elliott Management declined to comment on the development on Monday, while Starboard Value did not immediately respond to Reuters’ request for a comment.

The online seller had been a target of activist investors before. In 2014, Carl Icahn asked eBay to spin off its payments unit PayPal, a move which the company followed through in 2015.

The deal, which is expected to close by the end of the first quarter of 2020, comes after the exit of former CEO Devin Wenig in September, following his differences with the company’s revamped board.

The e-commerce company is expected to provide an update on its classified ad business next year.

Last month, eBay forecast its holiday quarter revenue below estimates, as it faces intense competition from Amazon.com AMZN.O and Walmart Inc WMT.N.

“The core business remains challenged and these developments won’t directly impact it this quarter,” Wedbush analyst Ygal Arounian said on the divestiture impacting eBay’s holiday quarter.

Shares of eBay were up as much as 3.7% at $36.43 in early trade on Monday.

Goldman Sachs & Co LLC acted as financial adviser to EBay, while Wachtell, Lipton, Rosen & Katz and Quinn Emanuel acted as legal advisers, according to the joint statement by the companies.

J.P. Morgan is acting as financial adviser to Viagogo, while Skadden, Arps, Slate, Meagher & Flom LLP and Kirkland & Ellis LLP are its legal advisers.