According to Hindu mythology, the present site of the Neelkanth Mahadev Temple was the holy place where Lord Shiva consumed the poison that emerged from the ocean when the gods and demons churned the sea to obtain amrita.