Tokyo had its worst session in months on Friday.

Japan’s benchmark fell 5% after Wall Street’s AI trade reversed overnight. Chip and AI stocks were behind most of the drop.

The Nikkei 225 closed down 5.06% at 56,436.65, its lowest finish since April.

The drop came after the Nasdaq swung from a 2% gain to a 2% loss as investors sold AI and chip stocks. SoftBank Group fell 14.5% to a 52-week low, Advantest lost 10.3% and Kioxia 11.7%. Only 11 of the index’s 225 stocks rose.

The Nikkei is down 7.7% for the week.

Seoul and Taipei fell too: Taiwan had its worst week since 1991.