James Prinsep, a British antiquarian and official of the East India Company, is credited with successfully deciphering the Brahmi and Kharosthi scripts in the 1830s. These scripts were used in most of the Ashokan inscriptions, allowing historians to finally read the edicts of Emperor Ashoka.