US President Donald Trump says Jensen Huang and his wife, Lori, have resolved their differences after allegations of affairs preceded Huang’s resignation and return as Nvidia chief executive. Lori Huang has not commented publicly.

Speaking to The New York Times, Trump praised Lori Huang and said the couple had worked through the matter. He added that he would not have handled the situation as Huang did, without explaining what he meant.

Huang resigned earlier in the month after being accused of an affair with an executive at Singapore-based technology company Megaspeed. Reporting cited by Indonesian outlet DetikINET said the executive was believed to be a Chinese spy. Subsequent media reports alleged other affairs involving several employees, including Nvidia’s vice president for healthcare.

DetikINET, citing The Independent, reported that Nvidia announced Huang’s return as CEO after Trump defended him. Trump welcomed the board’s decision, saying Huang’s leadership was needed for the company and the US economy.

In his resignation statement, Huang expressed regret for the hurt he had caused his wife and family, accepting responsibility for his actions and the criticism that followed. Jensen and Lori Huang met as students at Oregon State University and married in 1985. Their two children hold senior positions at Nvidia, while Lori leads the family’s charitable foundation.