The board of Nvidia has reinstated Jensen Huang as the company's chief executive officer, president and a member of the board, about two weeks after accepting his resignation over reports of extramarital relationships, including one with an employee who reported directly to him.

The company announced the decision on Monday. It said the board had heard from senior US government officials before deciding and does not believe Huang's return poses any threat to national security.

Nvidia shares jumped 29% in pre-market trading after the announcement.

The board reverses its position on Huang's resignation

Jensen Huang in a black leather jacket speaking on stage, gesturing toward an Nvidia logo

Nvidia's board said it reached the decision after a series of discussions and meetings with Huang, and that it is now convinced of his honesty and his ability to lead the company.

Huang's original resignation followed reports of several extramarital relationships. One was with a woman whose possible links to Chinese intelligence services worried US officials, and another was with an employee under his direct supervision.

President Donald Trump welcomed the reinstatement. "The NVIDIA Board of Directors has made the correct and proper decision to return Jensen Huang to the position of CEO," he wrote on Truth Social, adding that the country needs Huang's leadership to secure the success of the company and of the American economy.

Trump also said the US Attorney General has no evidence that Huang broke the law. The president had already backed Huang's return to the CEO job before the board decided.

Huang said he was pleased with the decision and that he feels excited and a sense of responsibility about coming back.

The move marks a clear change of course for the board. Last week, during Nvidia's earnings call, new board chair Harvey Jones said the board had unanimously accepted Huang's voluntary resignation and did not plan to reappoint him.

The board has now gone back on that position and put Huang in charge of the company again, a quick turnaround from its earlier decision.