 Nagachandra, a scholar and the builder of the Mallinatha Jinalaya (a Jain temple in honour of the 19th Jain tirthankar, Mallinatha, in Bijapur, Karnataka), wrote "Mallinathapurana" (1105), an account of the evolution of the soul of the Jain saint.According to some historians, King Veera Ballala I was his patron.Later, he wrote his "magnum opus", a Jain version of the Hindu epic Ramayana called "Ramachandra Charitapurana" (or "Pampa Ramayana").