Mumbai, May 19 -- The key equity benchmarks ended with modest losses today, extending losses for the second consecutive trading session, as investor sentiment remained subdued amid persistent global headwinds. The Nifty settled below the 24,950 mark after hitting the day's high of 25,062.95 in morning trade.

Realty, PSU bank and pharma shares advanced while IT, media and oil & gas shares declined.

As per closing provisional data, the barometer index, the S&P BSE Sensex, declined 271.17 points or 0.33% to 82,059.421. The Nifty 50 index fell 74.35 points or 0.30% to 24,945.45. In the past two trading session Sensex and Nifty declined 0.57% and 0.47%.

The broader market outperformed the frontline indices. The S&P BSE Mid-Cap index rose 0....