Aparajit was the last of the Pallava kings of the Kanchi Kingdom in south India. In 862 he defeated Varaguna Varman the king of Pandya at the Battle of Sri Purambiya. However, before the end of the ninth century Aparajit was defeated by Aditya I and the Kanchi lands came under the rule of Chola. Like other Pallava kings, Aparajit also built a famous Shivan Temple in Thiruttani, Tamil Nadu. This temple is famous for the arch type of Karpagraham (sanctuary). This temple is on the banks of the Nandhi river.