 Panthalur and Ten Kalams came under Kozhikode only after a protracted struggle.The assassination of a minister of Kozhikode by the chief minister of Valluvanadu while visiting Venkatakkotta in Valluvanadu sparked the battle, which dragged on for almost a decade.At last the Valluvanadu minister was captured by Samoothiri's warriors and executed at Padapparambu, and his province (Ten Kalams, including Kottakkal and Panthalur) were occupied by the Samoothiri.