The Nifty opened at 9,704.25, topping the 9,700 mark for the first time. It then gained 34.20 points, or 0.35 per cent, to trade at 9,709.30, breaching its previous intra-day high of 9,687.20 it touched on Monday.

The 30-share BSE Sensex too was on the uptrend, climbing 120.83 points, or 0.38 per cent, to quote at 31,430.32, breaking its previous all-time high of 31,355.42 (intra-day) that it touched on Monday.

The gauge had rallied 171.90 points in the previous two sessions.

Sectoral indices led by IT, Teck, Auto, Realty, Metal, Healthcare, PSU and Banking were in the positive zone, rising up to 1.83 per cent.

Brokers also said that markets got a booster dose after the GST Council last week finalised rates for some pending commodities, which has now taken the rollout of the new indirect tax regime from July 1 a step closer.