At close, the Sensex was up 1,197.11 points or 2.46% at 49,797.72, and the Nifty up 366.70 points or 2.57% at 14,647.90.HDFC Bank, Housing Development Finance Corporation (HDFC), Reliance Industries Ltd (RIL), ICICI Bank and State Bank of India were major gainers. On the flip side, Bajaj Finserv, Titan Company, Hindustan Unilever Ltd (HUL) were the only index losers. About 1727 shares have advanced, 1165 shares declined, and 170 shares are unchanged. Nifty Auto gained 4 per cent. Nifty Bank and Infra gained 3 per cent. The S&P BSE MidCap and SmallCap indices ended 2.26 per cent and 1.56 per cent higher, respectively.