Anticipating the change of regime due to early morning leads, the markets gained over 500 points, eventually to tumble to end flat over the confusion over government formation in Karnataka. The trading concluded with the BSE Sensex dropping modest 12.77 points while Nifty lost 4.75 points to stand at 35,543.94 and 10,801.85 respectively.