After a surge in the markets in the afternoon session, which was sustained for sometime, the markets pared gains and dipped into the red.
However, they were back in the green for a brief while, before seeing a sharp dip.
The markets eventually ended in the red, with the Sensex at 19,591 down 21 points, and the Nifty at 5,885 down 6 points.
A flat but positive opening was followed by consecutive sessions of losses, wherein the Sensex touched the day's low of 19,537 during morning trades.
In the afternoon, the bourses inched into the green, but saw fluctuations between the positive and negative territories.
A little into the late afternoon session, the Sensex scaled the day's high of 19,665, and saw a recovery of 128 points.
Thereafter, a decline