New Delhi, March 20 -- The Indian stock market ended Friday's session, March 20, in positive territory but erased a large part of its intraday gains amid profit booking. Still, the benchmarks recouped some of the previous day's sharp sell-off-the worst intraday fall in two years.

Select sectors such as IT, PSUs, and pharma supported the indices, while the sell-off in real estate stocks deepened further. Consequently, the Nifty 50 closed 0.50% higher at 23,114. At one point, the index had jumped as much as 1.5% to hit the day's high.

Meanwhile, the S&P BSE Sensex also ended the session at 74,544, up 0.45% from the previous close. On a weekly basis, both indices have remained in the red for the fourth consecutive week.

In terms of sector...