Linguistics (along with phonology, morphology, etc.) first arose among Indian grammarians studying the Sanskrit language. Aacharya Hemachandrasuri wrote grammars of Sanskrit and Prakrit, poetry, prosody, lexicons, texts on science and logic and many branches of Indian philosophy. The "Siddha-Hema-Śabdanuśāśana" includes six Prakrit languages: the "standard" Prakrit(virtually Maharashtri Prakrit), Shauraseni, Magahi, Paiśācī, the otherwise-unattested Cūlikāpaiśācī and Apabhraṃśa (virtually Gurjar Apabhraṃśa, prevalent in the area of Gujarat and Rajasthan at that time and the precursor of Gujarati language). He gave a detailed grammar of Apabhraṃśa and also illustrated it with the folk literature of the time for better understanding. It is the only known Apabhraṃśa grammar. The Sanskrit grammar of Pāṇini (c. 520 – 460 BCE) contains a particularly detailed description of Sanskrit morphology, phonology and roots, evincing a high level of linguistic insight and analysis.