India’s software exporters are steadily losing their sway on the country’s stock market as concerns over artificial intelligence-led disruption trigger a prolonged selloff in the sector.

The combined weight of five information technology companies in the NSE Nifty 50 Index has fallen below 7.6%, the lowest at least since 2002, according to data compiled by Bloomberg. At their peak more than two decades ago, the cohort accounted for more than a fifth of the benchmark.

The retreat marks a shift in leadership within India’s $5 trillion stock market, reducing the sector’s influence on benchmark returns. The Nifty IT Index has slumped 29% this year, compared with a 9% decline in the broader gauge, as investors worry that generative AI could undermine the traditional outsourcing model that powered the industry’s rise in the early 2000s.

As IT stocks lose value, their weightings in major indexes have also shrunk, reducing the amount of money they receive from the growing number of passive funds. Nifty 50-linked index and exchange-traded funds now manage about 5 trillion rupees ($52.8 billion). At current weights, they hold about 350 billion rupees of IT stocks, compared with roughly 1 trillion rupees if the sector had retained its peak position in the benchmark.

Technology is now the fifth-largest sector in the Nifty 50, trailing financials, consumer discretionary, energy and industrials. Infosys Ltd. has slipped to be the eighth-largest stock in the Nifty 50 by weight from third place five years ago, whereas Tata Consultancy Services Ltd. ranks 13th.