Early inscriptions written in Indian languages and scripts abound in Southeast Asia. Literacy in the very early states of Southeast Asia — aside from the portion of north Vietnam annexed by China — began with the importing, by local rulers, of modified cults of Buddhism or Hinduism, and the attendant adoption of Sanskrit or Pali language for the writing of religious texts. Later, in the seventh century, a broader range of texts began to appear on permanent materials, written in indigenous languages. Given the importance of religion in spearheading the development of indigenous literacy in Southeast Asia, it is not surprising that the north Indian languages of Sanskrit and Pali have had considerable long-term impact upon the linguistic and intellectual cultures of Southeast Asia.