By c. 897 CE, Chola king Aditya I was the master of the old Pallava, Ganga and Kongu countries. It is a possibility that Aditya I conquered the Kongu country from the Pandya king Parantaka Viranarayana (r. 880–900 CE). Parantaka I, successor to Aditya, invaded the Pandya territories in 910 CE and captured Madurai from king Maravarman Rajasimha II (hence the title "Madurai Konda"). Rajasimha II received help from the Sri Lankan king Kassapa V, still got defeated by Parantaka I in the battle of Vellur, and fled to Sri Lanka. Rajasimha then found refuge in the Chera country, leaving even his royal insignia in Sri Lanka, the home of his mother.