of Kuttanad from sea, Niranam and the whole western Thiruvalla could have been a coastal area. The Growth to Feudalism Up to the beginning of the 10th century CE, Ays were the dominant powers in Kerala. The Ay kings ruled from Thiruvalla in the North to Nagercoil in the South. Ptolemy mentions this as from Baris (Pamba River) to Cape Comorin "Aioi" (Kanyakumari). By 12th century, we get the picture from the Thiruvalla copper plates, which are voluminous records that centre around the social life around the temple. The society The Thiruvalla temple had a large Vedic learning school (actually comparable to modern university) ("Thiruvalla salai"), which was one of the foremost learning centres in Kerala. The Thiruvalla salai was one of the richest among the Vedic schools of Kerala, and according to the copper plates, the pupils of the school were fed with 350 nazhis of paddy every day, which shows the vastness of its student population. Thiruvalla held a very eminent position among the spiritual and educational centres in ancient times. The Sri Vallabha Temple was one of the wealthiest temples of ancient Kerala, as is evident from the inscriptions in the plates. The part of the temple land required to 'feed the Brahmins' required 2.1 million litres of rice seeds, and for the "maintenance of the eternal lamps" required more than 340,000 litres of paddy seed capacity. Due to the length, the antiquity and the nature of the language, Thiruvalla copper plates form the "First book in Malayalam", according to Prof. Elamkulam. Early Modern period The rulers of Thiruvalla now belonged to the Thekkumkoor Dynasty, which had one of its headquarters at Idathil near Kaavil Temple. Idathil (Vempolinadu Edathil Karthavu) was the family name of the Thekkumkoor kings. Today's Paliakara Palace is a branch of Lakshmipuram Palace of Changanacherry, which is a branch of Alikottu Kovilakam of Pazhancherry in Malabar. Similarly, Nedumpuram Palace is a branch of Mavelikkara Palace is an heir to the Valluvanad tradition of South Malabar. The Thekkumkoor kings lost their control in the course of time and Vilakkili (വിലക്കിലി) Nampoothiris were rulers in 1752–53 when Anizham Thirunal Marthanda Varma, the king of Travancore, seized it in a bloody battle in which the ruler was killed, though some dispute it, saying the surrender was peaceful as the Namboothiris were not naive to challenge the mighty army of Ramayyan, the shrewd and sadistic Dalava (ദളവ)-