Benchmarks Sensex and Nifty ended at fresh lifetime highs for yet another session on Wednesday, powered by unabated buying by participants and healthy corporate results.

However, telecom stocks tumbled up to 6.5 per cent after Reliance Jio decided to offer extra data on some plans, intensifying the tariff war in the sector.

Speculators covered their short positions ahead of the January derivatives expiry on Thursday, building up the momentum.

The 30-share Sensex rallied to an all-time high of 36,268.19 intra-day.

However, emergence of profit-booking at record levels ahead of January derivatives expiry sent it lower to 36,036.51. It finally settled 21.66 points, or 0.06 per cent, higher at 36,161.64 — surpassing its previous record closing of 36,139.98 reached on Tuesday.

After hitting a fresh intra-day record of 11,110.10, the 50-share NSE Nifty ended at 11,086, recording a modest rise of 2.30 points, or 0.02 per cent. It breached its previous record closing of 11,083.70 hit yesterday.

Meanwhile, foreign portfolio investors (FPIs) continued their buying activity. They bought shares worth a net Rs 1,229.35 crore, while domestic institutional investors (DIIs) made purchases to the tune of Rs 169.03 crore yesterday, provisional data showed.