Benchmark equity indices Sensex and Nifty settled with marginal gains on Thursday in a highly volatile trade amid the scheduled monthly derivatives expiry and muted trend in the US markets. The 30-share BSE Sensex closed 86.53 points or 0.13 per cent higher at 66,988.44, registering its third day of gains. During the day, it hit a high of 67,069.89 and a low of 66,610.35. The broader Nifty50 of the National Stock Exchange edged up 36.55 points or 0.18 per cent to close at 20,133.15.