Sensex was up 179.59 points
The last hour profit booking has dragged the indices from the day's high level but managed to close higher for the third consecutive day on June 22 with Nifty above 10,300 level.
At close, the Sensex was up 179.59 points or 0.52% at 34911.32, and the Nifty was up 66.80 points or 0.65% at 10311.20. About 1848 shares have advanced, 853 shares declined, and 159 shares are unchanged.
Bajaj Auto, Bajaj Finance, Coal India, Bajaj Finserv and Vedanta were among major gainers on the Nifty, while losers were Wipro, Gail, ONGC, HDFC and TCS.
Among sectors, except IT other indices ended in the green. BSE Midcap and Smallcap indices rose 1-2 percent.