Mohini also has an active history in the destruction of demons throughout Hindu texts. In the Vishnu Purana, Mohini defeats Bhasmasura, the ash-demon. Bhasmasura invokes the god Shiva by performing severe penances. Shiva, pleased with Bhasmasura, grants him the power to turn anyone into ashes by touching their head. The demon decides to try the power on Shiva himself. Shiva prays to Vishnu for help and Vishnu transforms into Mohini and charms Bhasmasura. Bhasmasura is so taken by Mohini that he asks her to marry him. Mohini agrees, but only on the condition that Bhasmasura follows her move for move in a dance. In the course of the dance, she places her hand on her head. Bhasmasura mimics the action, and in turn, reduces himself to ashes. The legend of Bhasmasura is retold in the Buddhist text Satara Dewala Devi Puvata, with a slight variation. In this tale, Vishnu assumes his female form (the name Mohini is not used) and charms Bhasmasura. The female Vishnu asks Bhasmasura to promise never to leave her by placing his hand on his head as per the usual practice to swear on one's head. On doing so, Bhasmasura is reduced to ashes.