This old Indian language was thought to have originated from the North or North West and trickled down into the formally unified India. Vedic form which is the earliest form of Sanskrit can be traced as early as around 1500 BC. It slowly transitioned to what is now known as classical Sanskrit due to a man called Pānini.
Around the 4th century BC Pānini an ancient master of grammar formulated many rules (almost 4000) that applied to Sanskrit. This prevented it's ever changing and often externally influenced corruption and allowed standards of linguistics to be present in the language.
It was this language that Patanjali wrote the famous Yoga Sutas revered by yoga practitioners as some of the greatest text on yoga.
| || |