wrote in the court of Arikesari II, a feudatory of Rashtrakuta Krishna III in Vemulavada. He was the author of Yasastilaka champu, Nitivakyamrita and other writings. The main aim of the champu writing was to propagate Jain tenets and ethics. The second writing reviews the subject matter of Arthashastra from the standpoint of Jain morals in a clear and pithy manner. Ugraditya, a Jain ascetic from Hanasoge in the modern Mysore district wrote a medical treatise called Kalyanakaraka. He delivered a discourse in the court of Amoghavarsha I encouraging abstinence from animal products and alcohol in medicine. Trivikrama was a noted scholar in the court of King Indra III. His classics were Nalachampu (915), the earliest in champu style in Sanskrit, Damayanti Katha, Madalasachampu and Begumra plates. Legend has it that Goddess Saraswati helped him in his effort to compete with a rival in the king's court. Jinasena was the spiritual preceptor and guru of Amoghavarsha I. A theologian, his contributions are Dhavala and Jayadhavala (written with another theologian Virasena). These writings are named after their patron king who was also called Athishayadhavala. Other contributions from Jinasena were Adipurana, later completed by his disciple Gunabhadra, Harivamsha and Parshvabhyudaya. Architecture The Rashtrakutas contributed much to the architectural heritage of the Deccan. Art historian Adam Hardy categorizes their building activity into three schools: Ellora, around Badami, Aihole and Pattadakal, and at Sirval near Gulbarga. The Rashtrakuta contributions to art and architecture are reflected in the splendid rock-cut cave temples at Ellora and Elephanta, areas also occupied by Jain monks, located in present-day Maharashtra. The Ellora site was originally part of a complex of 34 Buddhist caves probably created in the first half of the 6th century whose structural details show Pandyan influence. Cave temples occupied by Hindus are from later periods. The Rashtrakutas renovated these Buddhist caves and re-dedicated the rock-cut shrines. Amoghavarsha I espoused Jainism and there are five Jain cave temples at Ellora ascribed to his period. The most extensive and sumptuous of the Rashtrakuta works at Ellora is their creation of the monolithic Kailasanath Temple, a splendid achievement confirming the "Balhara" status as "one among the four principal Kings of the world". The walls of the temple have marvellous sculptures from Hindu mythology including Ravana, Shiva and Parvathi while the ceilings have paintings. The Kailasanath Temple project was commissioned by King Krishna I after the Rashtrakuta rule had spread