After being overshadowed by the Pallavas and Cholas for centuries, Jatavarman Sundara Pandyan briefly revived the Pandya glory in 1251 and the Pandya power extended from the Telugu countries on banks of the Godavari river to the northern half of Sri Lanka. When Maaravaramban Kulasekara Pandyan I died in 1308, a conflict stemming from succession disputes arose amongst his sons - the legitimate Sundara Pandya and the illegitimate Vira Pandya (who was favoured by the king) fought each other for the throne. Soon Madurai fell into the hands of the invading armies of the Delhi Sultanate (which initially gave protection to the vanquished Sundara Pandyan).