The BSE Sensex ended for the first time above the 25,000-level on across-the-board buying triggered by persistent capital inflows from foreign funds into equity market.
Widespread buying by retail investors on hopes that the government will take steps to revive the country's economic growth also boosted the market sentiment.
The 30-share index of the Bombay Stock Exchange resumed higher, but dropped to a low of 24,644.88 before recovering sharply to settle at 25,019.51, revealing a rise of 213.68 points, or 0.86 per cent.
The 50-share National Stock Exchange Nifty also flared up by 71.85 points, or 0.97 per cent, to end at new peak of 7,474.10.
Barring bankex, rest others 11 sectoral indices closed with gains between 0.17 per cent and 3.33 per cent with metal, oil&gas, power, FMCG, IT and capital goods leading the pack.
Sensex-based counters like Tata Motors, SSLT, ONGC, Infosys, HUL, RIL, ITC, Tata Steel, Hindalco, TCS, HDFC, Axis Bank, Tata Power, Wipro, Hero MotoCorp and Gail India closed with sharp to marked gains.
Foreign institutional investors (FIIs) bought shares worth a net Rs 192.56 crore on Wednesday, according to provisional data from the stock exchanges.
Meanwhile, Finance Minister Arun Jaitley will meet captains of Indian industry on Friday to elicit their views on the budget, which is likely to be presented in the first week of July. As part of the pre-budget consultation exercise, Jaitley has already met with agriculturists and will meet representatives of social sector later in the evening.