It has been a chaotic few weeks for one of tech's biggest names: Jensen Huang.
The Nvidia chief executive, whose company has been riding high in recent years due to an AI-driven boom for its computer chips, was effectively ousted from the role less than a fortnight ago.
But now he's back, with US President Donald Trump claiming credit, even as top members of US Congress vow to continue their investigations into Nvidia and whether its chips have been making it to China.
Here's how the crisis unfolded around Huang, and how he managed to get back in charge.
Having led Nvidia through one of the biggest stock market rallies of all time, Huang, the company's co-founder, appeared untouchable as chief executive.
But a report from the New York Times on October 29 alleging that he had been the target of a Chinese spy plot sent ripples through the sector.
The newspaper alleged US intelligence officials had concluded that Alice Huang — a Chinese executive linked to Singapore-based data centre company Megaspeed International — had been funnelling information to Beijing.
It added that Megaspeed had been suspected of steering Nvidia AI chips to China, citing unnamed sources.
On November 9, Huang acknowledged an extramarital affair with Ms Huang and said he was "deeply sorry", prompting Nvidia's board to open a…
