In 1209, the Jain scholar, minister, builder of temples and army commander Janna wrote, among other classics, "Yashodhara Charite", a unique set of stories in 310 verses dealing with sadomasochism, transmigration of the soul, passion gone awry and cautionary morals for human conduct. The writing, although inspired by Vadiraja's Sanskrit classic of the same name, is noted for its original interpretation, imagery and style. In one story, the poet tells of the infatuation of a man for his friend's wife. Having killed his friend, the man abducts the wife, who dies of grief. Overcome by repentance, he burns himself on the funeral pyre of the woman. The stories of infatuation reach a peak when Janna writes about the attraction of Amrutamati, the queen, to the ugly mahout Ashtavakra, who pleases the queen with kicks and whip lashes. This story has piqued the interest of modern researchers. In honour of this work, Janna received the title "Kavichakravarthi" ("Emperor among poets") from his patron, King Veera Ballala II. His other classic, "Anathanatha Purana" (1230), is an account of the life of the 14th tirthankar Ananthanatha.