The early works of "Tevaram" by the 7th-century poets Appar and Sambandar mention that the town had fortified walls, busy roads, buildings and a busy port. The inscriptions from the Kayarohanswami temple indicate the construction was initiated during the reign of the Pallava king, Narasimha Pallava II (691 – 729 CE). A Buddhist pagoda was built under Chinese influence by the Pallava king and town was frequented by Buddhist travellers. Thirumangai Azhwar, the 9th-century vaishnavite saint poet, is believed to have stolen the golden Buddha statue to fund the Ranganthaswamy Temple at Srirangam; the authenticity of the theory is questionable. In the 11th century CE, Chudamani Vihara, a Buddhist monastery was built by Javanese king Sri Vijaya Soolamanivarman with the patronage of Raja Raja Chola. Nagapattinam was the prominent port of Cholas for trade and conquering gateway to the east.