Benchmark indices ended in the positive territory on August 25, led by gains in largecap IT stocks. The Sensex surged 329.06 points, or 0.40 per cent, to close at 81,635.91. Likewise, the Nifty 50 gained 97.65 points, or 0.39 per cent, to end at 24,967.75.