Markets gained pace in late trades to snap a three-day losing streak and the Nifty ended above the 8,350 on hopes of a bailout deal to keep Greece in the euro zone at a weekend summit of European leaders.
Further, rally in the capital goods shares on expectations of higher industrial growth in May further boosted sentiment.