Mumbai, equity benchmarks Sensex and Nifty rose to scale fresh all-time highs on Thursday, after buying in market heavyweights ICICI Bank, Infosys and TCS amid a broadly positive trend in global equities.

The 30-share BSE Sensex rose 62.87 points or 0.08 per cent to settle at a fresh closing high of 80,049.67. During the day, it rose 405.84 points to reach a new all-time high of 80,392.64.

The Nifty rose 15.65 points or 0.06 per cent to settle at a record closing peak of 24,302.15. During the day, it rose 114.5 points to reach a new all-time high of 24,401.

Among the Sensex pack, the winners were HCL Technologies, ICICI Bank, Tata Motors, Sun Pharmaceuticals, Tata Consultancy Services, Infosys, Kotak Mahindra Bank and Mahindra and Mahindra.

On the other hand, HDFC Bank, Bajaj Finance, Larsen & Toubro, Tech Mahindra, UltraTech Cement and IndusInd Bank were among the laggards.

In Asian markets, Tokyo, Hong Kong and Seoul finished in positive territory, while Shanghai closed in the red.

European markets were trading in green territory in mid-session trading.

US markets finished higher on Wednesday during the shortened trading session. Stock exchanges will be closed on Thursday for Independence Day.

Global benchmark Brent crude fell 0.52 percent to $86.89 a barrel.

Foreign institutional investors (FIIs) bought shares worth Rs 5,483.63 crore on Wednesday, according to exchange data.

On Wednesday, the 30-stock index hit the historic 80,000 mark for the first time during the day. It rose 632.85 points or 0.79 percent to a record intraday high of 80,074.30. The index subsequently closed near the 80,000 level at 79,986.80, up 545.35 points or 0.69 percent from the last close.

The Nifty rose 162.65 points or 0.67 per cent to end at an all-time high of 24,286.50. During the day, it rose 183.4 points or 0.76 percent to hit a new intraday record of 24,307.25.