Local Puranas (Sthalapuranas)
Historical background
Literary genre narrating the foundation myth of a temple. A mahatmya (glorification) may be composed in honour of the site, e.g. Chidambaramahatmya, as well as of a deity, such as the Devi Mahatmya.