The ruler of Kozhikode next turned his attention to the valley of Perar. Large parts of the valley was then ruled by Valluvakkonathiri, the ancient hereditary chief of Valluvanadu. The principal objective of Kozhikode was the capture the sacred settlement of Thirunavaya. Soon the Samoothiris found themselves intervened in the so-called "kurmatsaram" between Nambudiris of Panniyurkur and Chovvarakur. In the most recent event, the Nambudiris from Thirumanasseri Nadu had assaulted and burned the nearby rival village. The rulers of Valluvanadu and Perumpadappu came to help the Chovvaram and raided Panniyur simultaneously. Thirumanasseri Nadu was overran by its neighbours on south and east. The Thirumanasseri Nambudiri appealed to the ruler of Kozhikode for help, and promised to cede the port of Ponnani to Kozhikode as the price for his protection. Kozhikode, looking for such an opportunity, gladly accepted the offer.