The 30-share Sensex opened on a strong note and rose to historical peak of 22,172.10 points intra-day.
It, however, lost some momentum and settled the day at 22,095.30, its record closing high, by gaining 40.09 points or 0.18 per cent.
The NSE Nifty, comprising 50 shares, firmed up by 11.65 points or 0.18 per cent to close above 6,600 level for the first time at 6,601.40 points.
The broader index touched intra-trade record high of 6,627.45 points.
More From This Section
Market experts said positive global cues and overall optimism boosted the buying sentiment. Short-covering ahead of the expiry of futures and options contracts tomorrow also helped to lift the indices to to their all-time high levels.
Metal, capital goods, refinery and auto shares were in demand, while pharma, IT, teck and FMCG counters were at the receiving end.
Jignesh Chaudhary, Head Of Research, Veracity Broking Services said: "Investor confidence got a much-needed boost from upbeat US data and diminishing concerns over the Ukraine/Crimea crisis.
This year Sensex traded strong and has increased 4.6 percent, the best performer among the four largest emerging markets, including China, Russia and Brazil, he added.