Maheśvara (Sanskrit: महेश्वर; Pali: Mahissara; traditional Chinese/Japanese: 大自在天; Pinyin: Dàzìzàitiān, Rōmaji: Daijizaiten) is a deva in Buddhist mythology. He is also sometimes referred to as Sabbalokādhipatī Devā in Pali literature. His main duty is to give spiritual knowledge. Maheshvara is sometimes revered as a bodhisattva. Maheshvara is derived from the Hindu God Shiva and is also an alternative name for this deity in Hinduism.
Etymology
The Sanskrit name Maheśvara is composed of two "Mahā" and "Īśvara". The "ā" of mahā and the "ī" of īśvara combine to form a sandhi, which becomes "e", forming the word "Maheśvara". Mahā means "Great" and Īśvara means "lord", hence the name Maheśvara means "the great lord".
A popular story tells how Vajrapāni kills one Maheśvara, because of his evil deeds. The story occurs in several scriptures, most notably the Sarvatathāgatatattvasaṅgraha and the Vajrāpanyābhiṣeka Mahātantra. The story begins with the transformation of the bodhisattva Samantabhadra into Vajrapāni by Vairocana, the cosmic Buddha, receiving a vajra and the name "Vajrāpani". Vairocana then requests Vajrapāni to generate his adamantine family in order to establish a mandala. Vajrapāni refuses because Maheśvara "is deluding beings with his deceitful religious doctrines and engaging in all kinds of violent criminal conduct". Maheśvara and his entourage are dragged to Mount Meru, and all but Maheśvara, who is too proud as ruler of the Three Worlds, submit. Vajrapāni and Maheśvara engage in a magical combat, which is won by Vajrapāni. Maheśvara's retinue become part of Vairocana's mandala, except for Maheśvara, who is killed, and his life transferred to another realm where he becomes a Buddha named Bhasmeśvaranirghoṣa, the "Soundless Lord of Ashes".[4]