At close, the Sensex was up 641.72 points or 1.30% at 49,858.24, and the Nifty was up 186.10 points or 1.28% at 14,744 lifted by gains in FMCG, metals, and financials. NTPC, HUL and Reliance Industries were the top index gainers. Tech Mahindra and Larsen & Toubro were the top drags. About 1461 shares have advanced, 1418 shares declined, and 200 shares are unchanged. The Nifty Energy index rose 3 per cent and the Nifty FMCG index, up 1 per cent, leading the gainers. Among sectoral indices, Nifty Realty was the only one to end in the red. The S&P BSE MidCap index was flat while the SmallCap index dipped half a per cent.