However, the kingdom continued to decline, under the attacks by South Indian states. The last Sinhala king to rule from Polonnaruva was Parākramabāhu III (1302-1310), who was actually a client king of the Pandyas and later had to retreat to Dambadeniya. After this, Sinhala kings were forced to retreat further to south (to cities like Kurunagala and Gampola), mainly in search of security from South Indian states and from the expansive Tamil kingdom of Jaffna (a Hindu realm which now controlled the north-west of the island).