According to a Hindu legend, Shiva descended as linga on three mountains namely, Kaleswaram, Srisailam and Bhimeswaram, which marked the boundaries of the Telugu country.