Panini, who lived around the 4th century BCE, composed the Ashtadhyayi - a comprehensive treatise on Sanskrit grammar. His work is considered foundational to Sanskrit linguistics and is regarded as one of the greatest scholarly achievements in ancient India.