Market ended a very busy day in negative territory on Thursday. Swaying up and down as election results trends showed a clear majority for the Narendra Modi-led NDA alliance, the indices breached the psychological levels of 40,000 and 12,000 on Sensex and Nifty, respectively, but closed in red.