Buddhism was an important part of the classical Kashmiri culture, as is reflected in the Nilamata Purana and Kalhana's Rajatarangini. Buddhism is generally believed to have become dominant in Kashmir in the time of Emperor Ashoka, although it was widespread there long before his time, enjoying the patronage not only of Buddhist rulers but of Hindu rulers too. From Kashmir, it spread to the neighbouring Ladakh, Tibet and China. Accounts of patronage of Buddhism by the rulers of Kashmir are found in the Rajatarangini and also in the accounts of three Chinese visitors to Kashmir during 630-760 AD.