US internet company Yahoo said it has reached a deal to sell part of its stake in China's biggest internet company Alibaba Group.
Alibaba will buy back half the 40% stake owned by Yahoo, following years of negotiations.
The deal will raise about $7.1bn (£4.5bn) for Yahoo, which has been losing ground to rival Google and Facebook in online advertising.
The agreement also allows Alibaba to consider an initial public offering.
Both companies revealed in a statement that Alibaba will pay Yahoo $6.3bn in cash and up to $800m in Alibaba preferred stock.
For Yahoo, the deal gives it the ability to pay dividends, make acquisitions, or buy back its own shares, something its stockholders have been asking for.
We look forward to delivering the proceeds of the near-term transaction to our shareholders," said Timothy R Morse, chief financial officer at Yahoo.
Some analysts have said that most of Yahoo's value is based on its Asian assets, and selling them will allow its core US operations to be valued by investors.
The agreement also allows the Chinese group to buy more of Yahoo's remaining 20% stake, if Alibaba pushes ahead with a sale of its own shares on the stockmarkets, a move that many observers expect.
The deal is welcome news for Alibaba which has long been looking to buy back the part of its company owned by Yahoo. However, negotiations have suffered many setbacks.
"This transaction opens a new chapter in our relationship with Yahoo," said Jack Ma, chief executive officer of Alibaba Group, which runs the popular Chinese online market place Taobao.
He also said both companies would continue to work together, with Yahoo's global audience being an attractive opportunity for Alibaba, as it seeks growth outside China.
- IMF boss Christine Lagarde says Greece has 'more to do'
- UK retail sales fall after petrol sales slump
- Eurozone biggest threat to global outlook, OECD says
- UK inflation rate drops to 3% in April, says ONS
- Facebook sale glitch embarrassing, says Nasdaq
- Germany restates opposition to eurobonds
- Facebook share trading debut approaches
- European shares fall on worries over Spanish banks
- Vauxhall's Ellesmere Port plant to build new Astra
- French finance minister Moscovici questions fiscal pact
- Facebook loses adverts from General Motors
- Euro hits four-month low on heightened Greek fears
- UK unemployment falls by 45,000
- Bharti Airtel investigated for money laundering
- Facebook has raised the price at which it hopes to sell its shares from $28-$35 to $34-$38, potentially putting its total value above $100bn (£62.2bn). The company said strong demand had pushed up the price. Trading in the shares is expected to begin on
- Eurozone avoids recession after strong German growth
- JPMorgan senior executives 'to resign'
- Yahoo chief executive Scott Thompson steps down
- Eurozone economy to shrink by 0.3%, EU Commission says
- China's exports and imports see slower growth
- Aviva boss Andrew Moss to step down
- Unemployment set to keep on rising, says forecaster
- The eurozone's private sector contracted sharply in April and by more than initially thought, a survey says. The Markit eurozone composite purchasing managers' index (PMI) fell to 46.7 in April from March's 49.2. Any figure below 50 suggests contraction.
- Diageo reports 6% growth in quarterly sales
- Spain sells more bonds but at higher rates