Utpala dynasty was a Kashmiri dynasty which ruled over the Kashmir region in the northern part of the Indian subcontinent from 8th to 10th century CE. The kingdom was established by Avanti Varman, ending the rule of Karkota dynasty in 855 CE. According to Ain-i-Akbari the rulers of this dynasty were from Chamar Community. The cities of Avantipur and Suyapur were founded during the reign and many Hindu temples dedicated to both Vishnu and Shiva and Buddhist monasteries were built, notable of which is the Avantiswara and Avantiswami temples.