New Delhi, Dec 09 (ANI): Equity benchmark indices ended on December 09 with marginal gains after a volatile session on December 06 while heavy buying was witnessed in metal, auto energy and infra stocks. The BSE SandP Sensex closed 42 points higher at 40,487 while the Nifty 50 was up by 15 points at 11,937. Sectoral indices at the National Stock Exchange (NSE) were mixed with Nifty auto gaining by 0.8 per cent and metal by 0.5 per cent. Among stock, auto majors Maruti and Mahindra and Mahindra added gains of 1.7 per cent and 0.8 per cent respectively while JSW was up by 1.7 per cent.