Continuous foreign funds inflow and positive speculations too influenced the market sentiments, according to brokers.
Firming up after a strong opening, the BSE 30-share surged to 33,354.93, before closing at 33,136.18, up 139.42 points, or 0.42 per cent. In the last session, it gained 73.64 points.
The 50-share Nifty too scaled a high of 10,227.30 intra-day but owing to profit-booking, it ended the day at at 10,155.25, up 30.90 points, or 0.31 per cent.
Foreign portfolio investors (FPIs), meanwhile, bought shares worth Rs 344.16 crore on a net basis, while domestic institutional investors (DIIs) purchased equities to the tune of Rs 731.17 crore on Tuesday, provisional data showed.