In its variants and numerous dialects, it was the lingua franca of ancient and medieval India.
Sanskrit