Tension had been brewing in Sambhal since November 19 when the mosque was first surveyed on the court's orders following a petition claiming that a Harihar temple had stood at the site.