Mahadevi was born in a village in what is now Karnataka. From childhood she loved Shiva - specifically the form called Chenna Mallikarjuna, "the beautiful lord of Mallika flowers." She vowed in her heart that she would marry only him.
But the local king, Kaushika, became obsessed with her beauty and demanded she marry him. Her parents, fearing the king's power, agreed. Mahadevi laid down three conditions: he could never touch her when she was absorbed in devotion; he could never insult her God; he must release her if she wished to leave. The king agreed, but broke all three conditions.
Mahadevi walked out of the palace. She removed her ornaments. Then she removed her clothing - covering herself only with her long hair and the name of Shiva - and began walking.
People were shocked. Some mocked her, some threw stones. She said: "I wear the garment of shame-lessness. It was woven by my Lord himself. Would you have me cover divine cloth with worldly cloth?"
She walked to the Anubhava Mantapa, the Academy of Experience in Basavanna's court at Kalyana, where the great Veerashaiva saints gathered. Even the master Allama Prabhu tested her wisdom. She answered in incandescent vachanas - prose-poems that burned with clarity.
In her vachanas she addressed Shiva as her husband, her lover, the only real: "Take these husbands who die, decay, and feed them to the crows. Take these husbands who must die - give me my Chenna Mallikarjuna."