Prakrit was the primary administrative and literary language during the Mauryan Empire, especially under Ashoka whose edicts were inscribed in Prakrit and Brahmi script. Sanskrit existed but was less commonly used in official inscriptions during this period.