Mumbai, July 9 -- The key domestic indices ended with modest gains today, snapping a two-day losing streak, supported by foreign fund inflows and buying in blue-chip stocks. The Nifty ended above the 23,950 mark. Realty, media and PSU bank shares advanced, while IT and auto stocks declined.

As per provisional closing data, the S&P BSE Sensex jumped 238.22 points or 0.31% to 76,741.82. The Nifty 50 index rose 80.75 points or 0.34% to 23,962.80. In the past two trading sessions, the Nifty and Sensex declined 2.25% and 2.28%, respectively.

The broader market outperformed the frontline indices. The BSE 150 MidCap Index rose 1.41% and the BSE 250 SmallCap Index added 1.69%.

The market breadth was strong. On the BSE, 2,916 shares rose and 1,...