The BSE bluechip index, which rose over 400 points just before noon, more than halved its gain to conclude at 28,355.62, up 128.23 points or 0.45 per cent.
The Sensex, after resuming higher at 28,122.48, rose to 28,633.72 on initial strong buying as India's GDP growth is likely to accelerate to 7.4 per cent in 2014-15.
However, the Sensex declined afterwards to 28,044.49 on late selling pressure and rising foreign capital outflows.
Till 3 PM, AAP had won 54 of the 57 seats for which the results were available with Election Commission and was leading on 13 seats. The BJP, which was hoping to ride on Narendra Modi's "magic" before the elections, could only manage to secure three seats.
More From This Section
"In an extremely volatile session, markets managed to end in green on Tuesday, putting brake on a losing streak. After initial downtick, benchmarks bounced back strongly in response to CSO releasing advanced GDP estimate. However, decisive win by the AAP again pushed the bulls on back foot," said Religare Securities, President-retail distribution, Jayant Manglik.
Foreign portfolio investors sold shares worth net Rs 660.30 crore yesterday as per provisional data.
European stocks were trading lower on Greece's stand-off with its creditors. Key indices in France, Germany and UK were off 0.06-0.28 per cent.