The Sensex and the Nifty ended the session marginally in the green amid weak global cues.
The 30-share BSE index ended at 22,445.12, up 41.23 points and the 50-share NSE index Nifty ended at 6,696.15, up 1.35 points.
Among BSE sectoral indices, oil & gas and metal indices were the star-performers and were up 1.53 per cent and 1.21 per cent, respectively, followed by capital goods 0.91 per cent and FMCG 0.5 per cent. On the other hand, TECk, IT, realty and healthcare indices lost investors' support and were down 1.16 per cent, 0.96 per cent, 0.75 per cent and 0.72 per cent, respectively.
Hindalco, ONGC, L&T, RIL and Tata Steel were the top five Sensex gainers, while the top five losers were Cipla, HDFC, Tata Power, Wipro and Infosys.
European stocks were down as a report showed Chinese manufacturing contracted for a fourth month in April. Asian shares were little changed.
The HSBC Holdings Plc/Markit Economics Ltd gauge of Chinese manufacturing dropped to 48.1 from a preliminary reading of 48.3, signaling a contraction.