At close, the Sensex gained 0.3 per cent (226.85 points) to 76,759.81, while the Nifty rose 0.3 per cent (86.4 points) to 23,249.5.