New Delhi, June 25 -- Indian stock markets on Wednesday ended with gains as Nifty reclaimed the 24,000 mark, supported by strong buying in IT, realty and banking stocks. At close, the Sensex was up 790.54 points or 1.04 percent at 76,991.22, and the Nifty was up 197.55 points or 0.83 percent at 24,021.65.

Nifty midcap index rose 0.10 percent and smallcap index gained 0.4 percent. The overall market capitalisation of firms listed on the BSE rose to over Rs 476 lakh crore from Rs 475 lakh crore in the previous session.

Among the sectoral indices, the key names in green were Information Technology and realty up 2% each, while Private Bank index up 1.8%. Auto, Energy, Metal, Power were the ones in red. On Nifty, the biggest gainers were Inter...