In the first half of the first millennium, the Kashmir region became an important centre of Hinduism and later of Buddhism. During the 7th-14th centuries, the region was ruled by a series of Hindu dynasties,