Jensen Huang has been reinstated as Nvidia CEO effective immediately, the company's board announced Monday. The board unanimously voted to restore Huang after consulting with senior U.S. government officials, who determined his reinstatement poses no national security risk.

Huang resigned earlier this month following reports of multiple extramarital affairs, including one with a woman alleged to be a Chinese spy. The New York Times reported the woman, Alice Huang, was in contact with an officer of China's Ministry of State Security during their relationship.

Nvidia shares surged 33% on the reinstatement news. The stock had fallen roughly 33% from Nov. 6, when it closed at $186.64, through Huang's Nov. 8 admission of an affair.

President Trump told CNBC Monday he had been speaking directly and indirectly with Nvidia's board. Trump said Huang "did nothing wrong" and that he spoke with Huang on Sunday. Trump wrote on his social media platform that the government has "no reason to believe" Huang's return poses a national security risk and that it "does not possess evidence that he has engaged in any unlawful conduct."

Senior government officials briefed Nvidia's board late last week and communicated that no national security laws were violated, sources said. The board's first conversations with Huang since his ouster occurred Saturday. Nvidia's cratering stock price accelerated those conversations, sources added.

Colette Kress, who was appointed interim CEO following Huang's departure, will return to her role as chief financial officer. The board's independent investigation into Huang will continue, the company said.

Tech leaders including Elon Musk and venture capitalists Gavin Baker and Brad Gerstner had lobbied for Huang's return.

Congressional scrutiny continues. Huang is scheduled for a closed-door transcribed interview with the House Foreign Affairs panel and two other committees on Dec. 1. Nvidia's general counsel Tim Teter is scheduled to appear on Dec. 2. Lawmakers have signaled investigations into how the affair may have influenced Huang's positions on chip export controls and his relationships with Trump and his Cabinet.

Nvidia faces ongoing questions over chip sales in Southeast Asia and China.