At close, the Sensex was up 817.06 points or 1.50% at 55,464.39, and the Nifty was up 249.50 points or 1.53% at 16,594.90,as the Bharatiya Janata Party (BJP) looked set to win four of the five key state elections.HUL was the top gainer on the 50-pack index, followed by Tata Steel, Grasim Industries, SBI, Tata Consumer Products, JSW Steel, Axis Bank, Tata Motors, IOC, and IndusInd Bank. Coal India, Tech M, ONGC, Dr. Reddy's Labs, UPL, and TCS were the top losers. About 2346 shares have advanced, 937 shares declined, and 94 shares are unchanged. The BSE MidCap and SmallCap indices gained 1 percent each. All the sectoral indices ended in the green with auto, metal, FMCG, power, capital goods, PSU Bank and realty indices added 1-2 percent.