Why did Adi Sankaracharya propagate his teachings and writing in Sanskrit?

Adi Sankara was affluent in Tamil and Malayalam, why did he not choose to write his teachings and stotras in these native languages but choose Sanskrit which was hardly spoken and understood by the mass.
11 answers 11