Sensex closed at 77,094.07, up 291.17 points or 0.38 per cent., while the Nifty 50 settled at 24,102.90, a gain of 89.80 points or 0.37 per cent