U.S. stocks rose sharply on Monday after Nvidia’s board reinstated Jensen Huang as president and chief executive, helping markets recover much of the previous week’s losses, The Associated Press reported. The company’s shares climbed 27.8% after falling nearly 23% the week before.

At 9:35 a.m. Eastern time, the S&P 500 was up 4.1%, the Nasdaq Composite had gained 6% and the Dow Jones Industrial Average was 1,005 points higher, or 2.1%, AP reported. Those were intraday figures, not closing prices.

The market rebound followed a turbulent period for AI-related shares. AP noted that Nvidia and other technology companies have become influential in major indexes, while investors continue to weigh valuations, borrowing costs and the scale of spending on AI infrastructure.