Indian benchmark indices ended with marginal gains in the volatile session on February 4. At close, the Sensex was up 78.56 points or 0.09 percent at 83,817.69, and the Nifty was up 48.45 points or 0.19 percent at 25,776.00. About 2626 shares advanced, 1413 shares declined, and 143 shares unchanged.