Task: Question Generation
Input (English): Passage: Prose works in Sanskrit was prolific during this era as well. Important mathematical theories and axioms were postulated by Mahaviracharya, a native of Gulbarga, who belonged to the Karnataka mathematical tradition and was patronised by King Amoghavarsha I. His greatest contribution was Ganitasarasangraha, a writing in 9 chapters. Somadevasuri of 950 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.
Output (English): Who did Goddess Saraswati help in his effort to compete with a rival in the king's court?