According to legend, Varanasi was founded by the god Shiva. The Pandavas, the heroes of the Hindu epic Mahabharata are also stated to have visited the city in search of Shiva to atone for their sins of fratricide and bramhanahatya that they had committed during the climactic Kurukshetra war. It is regarded as one of seven holy cities which can provide Moksha.....wikipedia