On Tuesday, benchmark indices ended in green amid mixed global cues. At close, the Sensex settled gaining 514.34 points or 0.88 per cent at 59,005.27 level, and the Nifty ended at 17,562 levels, which is 165.10 points or 0.95 per cent on the upper side.