The BSE Sensex ended 368.40 points or 0.47 per cent higher at 78,507.41, while the NSE Nifty50 gained 98.10 points or 0.41 per cent to close at 23,742.90