In the 14th century, Kozhikode conquered larger parts of central Kerala after the seize of Tirunavaya region from Valluvanad, which were under the control of the king of Perumbadappu Swaroopam (Cochin). The ruler of Perumpadappu was forced to shift his capital (c.