Nvidia CEO Jensen Huang is set to testify before Congress Tuesday in the first of two hearings where he will be asked about his relationship with a woman alleged to be a Chinese spy.

Huang has admitted to an extramarital relationship with Alice Huang, a former executive at the tech company Megaspeed.

"I do not believe that I ever provided sensitive or confidential information about Nvidia or anything else to Alice Huang," according to Huang's prepared remarks, obtained by media outlets. "During my interactions with Alice Huang, I did not believe she was a Chinese intelligence asset or a spy."

Members of Congress want to know whether Huang or anyone else associated with the company smuggled Nvidia chips into China, in violation of U.S. law.

The U.S. and China are locked in a battle to win the AI race, and Nvidia is a provider of chips that power the technology

Following revelations about Jensen Huang's affair with the alleged Chinese spy Alice Huang, and a second affair with a direct report, the Nvidia board announced the CEO's resignation on Nov. 12. "Jensen's contributions to NVIDIA are profound," the announcement read. "NVIDIA is one of the most consequential technology companies in the world. The Board and the company thank Jensen for his immeasurable contributions to the company and the industry."

Immediately following Jensen Huang's resignation, Nvidia stock fell as much as 16% before ending the day down just over 4%.

The board later reinstated Jensen Huang as CEO, president and director on Nov. 23 after an outside pressure campaign that included President Trump. "The Board of Directors voted unanimously to reinstate Mr. Huang following a series of discussions and meetings with Mr. Huang, after which the Board was satisfied with respect to Mr. Huang's candor and ability to lead NVIDIA," the board's announcement read. "In the process of reaching its decision, the Board received input from senior levels of the United States government, and based on that input, the Board is confident that Mr. Huang's reinstatement poses no national security risk."

The Wall Street Journal reported that Huang disclosed more affairs to the board prior to his reinstatement.

If you're just catching up on everything going on with Nvidia and CEO Jensen Huang, here's a recap of the events that led to today's testimony before Congress.

On Oct. 29, The New York Times reported that Nvidia's CEO had "developed a close relationship with" Alice Huang, an executive at a Singapore-based data center company called Megaspeed that was under scrutiny for "possibly steering advanced Nvidia A.I. chips to China." The report added that U.S. officials believed Alice Huang was a Chinese intelligence asset and was "funneling information to Beijing."

On Nov. 8, Jensen Huang admitted to having an affair in a letter apologizing to Nvidia employees and his family. "I take full responsibility for what I did and the hurt I caused, and I accept the criticism that comes with it."

While the letter didn't name Alice Huang, Jensen Huang noted that Nvidia's board of directors had opened an independent investigation regarding the national security concerns raised in The New York Times' reporting. "I support the investigation and will cooperate fully," the letter said. "I love our country and our company, and I am committed to protecting NVIDIA and supporting America's national security. I am proud and grateful to be an American."

On November 12, The New York Times reported on a second alleged affair between Jensen Huang and Nvidia's vice president of health care, Kimberly Powell.

President Trump has said he told Nvidia's board of directors that Jensen Huang did not represent a national security threat.

"We gave them assurances, at least with everything we know," the president told CNBC in a Nov. 23 phone interview.

The board said it had "received input from senior levels of the United States government" in announcing its decision to reinstate Huang as CEO.

But on Sunday, when asked if he had assurances that Nvidia had not broken U.S. law, Trump said "nobody has assurances" on everything.

One of the key issues Congress is expected to ask Huang about this week is what he may have revealed to Alice Huang, the woman he had an extramarital affair with. Alice Huang, who was an executive at Megaspeed, is also alleged to be a Chinese spy. The New York Times reported that U.S. officials were investigating whether Megaspeed may have skirted U.S. export controls and smuggled advanced Nvidia chips into China.

Jensen Huang also reiterated his support for open model AI development in his prepared remarks on Tuesday.

"Open models are important to America's AI leadership and freedom to innovate," he said.

Closed AI models are "closed" primarily because companies make them that way; for example, OpenAI's ChatGPT and Anthropic's Claude. Open models can be modified by anyone to a certain extent, but both types of models can do similar things, like answer users' prompts.

Huang said open models can help researchers examine and improve AI, including its safety and security.

"The freedom to build with AI should be broadly shared by all Americans, not limited to a handful of companies. Open models help make that possible," he said. "Americans should be able to use both open and closed models, with rigorous evaluation and appropriate safeguards, and in accordance with U.S. law and national security requirements.

In his prepared remarks ahead of Tuesday's House hearing, Jensen Huang said it was his responsibility to explain his judgment, acknowledge risks and "help the government make informed decisions."

He said it was "imperative for U.S. national security" that America win the global AI competition with China.

"There are earnest policy debates on how America can win the AI race, including its approach to China and open models," Huang said.

Restricting suppliers to China would give foreign companies like Huawei "a protected home market to build scale," he added. "We cannot make the same mistake we made with 5G and cede AI infrastructure leadership to China."

November was a tumultuous month for Nvidia. CEO Jensen Huang resigned after news came out about his extramarital affair with Alice Huang (no relation), who is also alleged to be a Chinese spy.

But shortly thereafter, Jensen Huang was reinstated as CEO. President Trump has said he spoke "directly and indirectly" with Nvidia's board and that his "intervention was very important" in Huang's reinstatement.

Huang will testify Tuesday behind closed doors before two House committees. On Thursday he will testify in an open hearing before the Senate Banking Committee.