Historically, the image of Ashoka in the global Buddhist circles was based on legends (such as those mentioned in the "Ashokavadana") rather than his rock edicts. This was because the Brahmi script in which these edicts were written was forgotten soon and remained undeciphered until its study by James Prinsep in the 19th century. The writings of the Chinese Buddhist pilgrims such as Faxian and Xuanzang suggest that Ashoka's inscriptions mark the important sites associated with Gautama Buddha. These writers attribute Buddhism-related content to Ashoka's edicts, but this content does not match with the actual text of the inscriptions as determined by modern scholars after the decipherment of the Brahmi script. It is likely that the script was forgotten by the time of Faxian, who probably relied on local guides; these guides may have made up some Buddhism-related interpretations to gratify him, or may have themselves relied on faulty translations based on oral traditions. Xuanzang may have encountered a similar situation, or may have taken the supposed content of the inscriptions from Faxian's writings. This theory is corroborated by the fact that some Brahmin scholars are known to have similarly come up with a fanciful interpretation of Ashoka pillar inscriptions, when requested to decipher them by the 14th century Muslim king Firuz Shah Tughlaq. According to Shams-i Siraj's "Tarikh-i Firoz Shahi", after the king had these pillar transported from Topra and Mirat to Delhi as war trophies, these Brahmins told him that the inscriptions prophesized that nobody would be able to remove the pillars except a king named Firuz. Moreover, by this time, there were local traditions that attributed the erection of these pillars to the legendary hero Bhima.