Mumbai: Indian benchmark indices ended with modest gains on Thursday after surrendering a significant portion of their intra-day advances amid weakness in information technology, metal, oil, and gas stocks. The Nifty closed 34.35 points, or 0.14 per cent, higher at 24,056, while the Sensex advanced 109.25 points, or 0.14 per cent, to settle at 77,100.47..