The Sensex rose 398 points, or 0.49%, to end at 82,307.37, while the Nifty 50 settled at 25,289.90, rising 132 points, or 0.53%. Mid and small-cap segments outperformed as the BSE Midcap and Smallcap indices rose 1.28% and 1.13%, respectively.