Nvidia's board of directors has restored Jensen Huang to his roles as chief executive and president, TechCrunch reports. Huang had stepped down less than two weeks earlier after admitting to at least two extramarital affairs, one of them with a woman the US government suspects of being a Chinese spy.

The board said it consulted senior government officials before making the decision and concluded that Huang did not pose a national security risk. The vote was unanimous and followed a series of meetings with Huang. Nvidia's stock climbed 30 percent at the market open after the news.

President Donald Trump had repeatedly voiced support for Huang following his resignation. Elon Musk, Replit chief Amjad Masad, Epic Games chief Tim Sweeney and Y Combinator chief Garry Tan also signed a petition calling for his return.

The move marks a sharp turnaround for the board. Only days earlier, chairman Harvey C. Jones had said there were no plans to bring Huang back, and the company had hired Heidrick & Struggles to search for a permanent successor. Jones has now said Huang is the right person to lead the company, while Huang said he accepted the responsibility "with great humility and renewed commitment."

Huang co-founded Nvidia in 1993. During his absence, chief financial officer Colette Kress served as interim CEO, and she will continue in her role as CFO.