Domestic equity benchmarks Sensex and Nifty settled in the positive zone on gains in IT, bank, financial, telecom, pharma and metal stocks amid mixed global cues.
The Sensex surged 318 points, or 0.93 per cent, to finish at 34,663, while Nifty50 climbed 84 points, or 0.80 per cent to rest at 10,514.
In the Nifty pack, 34 stocks advanced and 16 declined, while in Sensex 24 remained in the green and 7 in the red.
However, midcaps and smallcaps failed to participate in today's rally. The BSE Midcap and smallcap index settled 0.24 per cent and 0.14 per cent lower, respectively.
Barring Nifty Auto and realty, all sectors closed with gains on Thursday, with Nifty IT at the top.
As many as 13 stocks hit 52-week highs on NSE, compared with 166 stocks that touched 52-week lows.