The Sensex ended 166 points, or 0.21%, to end at 78,094.64, while the Nifty 50 settled at 24,383.60, up 66 points, or 0.27%.