On Wednesday, the headline indices erased the gains during the day and ended lower, experiencing profit booking at record high levels. Sensex was down by 214.18 points or 0.37 per cent at 57,338.21 levels while Nifty plunged 55.90 points or 0.33 per cent at 17,076.30 levels. In the broader markets, the small-cap and mid-cap indices outperformed by ending on a higher side. On the sectoral front, the metal & IT indices witnessed a drag whereas capital goods, power, and realty indices ended in the green.