The benchmark indices ended marginally higher on Friday tracking mixed trend seen in global markets as investors reacted benignly to the UK poll verdict, which left no single party with a clear claim to power.
The S&P BSE Sensex settled at 31,262, up 48 points, while the broader Nifty50 closed at 9,668, up 21 points.
In the broader market, the S&P BSE Midcap and the S&P BSE Smallcap indices gained 0.3% and 0.5%, respectively.
The breadth, indicating the overall health of the market, was positive. On the BSE, 1,380 shares rose and 1,289 shares fell. A total of 187 shares were unchanged.