The excavation at Paharpur, and the finding of seals bearing the inscription Shri-Somapure-Shri-Dharmapaladeva-Mahavihariyarya-bhiksu-sangghasya, has identified the Somapura Mahavihara as built by the second Pala king Dharmapala (circa 781–821) of Pāla Dynasty.[4] Tibetan sources, including Tibetan translations of Dharmakayavidhi and Madhyamaka Ratnapradipa, Taranatha's history and Pag-Sam-Jon-Zang, mention that Dharmapala's successor Devapala (circa 810–850) built it after his conquest of Varendra.[4] The Paharpur pillar inscription bears the mention of 5th regnal year of Devapala's successor Mahendrapala (circa 850–854) along with the name of Bhiksu Ajayagarbha.[4] Taranatha's Pag Sam Jon Zang records that the monastery was repaired during the reign of Mahipala (circa 995–1043 AD).[4]