 The eldest male member of Nediyirippu swaroopam became the Samoothiri of Kozhikode.There was a set pattern of succession, indicated by sthanams in the royal line.Five sthanams were defined in Kozhikode.