President Donald Trump told CNBC on Monday that he spoke directly with Nvidia's board and urged them to reinstate CEO Jensen Huang. "I convinced them," Trump said. "I made the deal."

The interview with CNBC's Eamon Javers came shortly after Nvidia announced that Huang was returning to lead the company. Huang had resigned less than two weeks earlier after admitting he cheated on his wife. Claims had also linked his affairs to an alleged Chinese spy and two Nvidia employees.

Trump said the board "did ask for assurance on the national security threat." He said, "we gave them assurances at least with everything we know, and we know a lot." The report does not describe what those assurances contained.

Trump said he called Huang after the deal was finished and told him to "work hard." He also said Huang "did nothing wrong" and that the board "acted really responsibly."

Asked whether last week's broad stock market selloff after Huang's resignation factored into the decision, Trump said, "Probably so, but the bigger impact was the long term."