The story of Shangchul Mahadev goes back to the Mahabharata. It’s believed that the Pandavas stayed here during their exile. When the Kauravas discovered their location and arrived to capture them, the Pandavas took refuge at this very temple and prayed to Lord Shiva for protection.