Equity indices ended a volatile session with steep losses on Wednesday, led by weakness in banks and auto shares. The Nifty hit a record high of 15,800.45 in early afternoon trade. However, a sharp round of profit selling in afternoon trade dragged the benchmarks lower. All the sectoral indices on the NSE ended in the red. Negative global stocks triggered profit selling in domestic shares. The barometer index, the S&P BSE Sensex, slipped 333.93 points or 0.64% at 51,941.64. The Nifty 50 index lost 104.75 points or 0.67% at 15,635.35. Reliance Industries (down 1.8%), Larsen & Toubro (down 1.8%), ICICI Bank (down 1%), Bajaj Finserv (down 1.46%) and Bajaj Finance (down 1.43%) were major drags.