 The Eradi emerged victorious and shifted his seat from Nediyiruppu to Kozhikode - then also called "Thrivikramapuram".The Eradis built a fort (Koyil Kotta) at a place called "Velapuram" (port) to safeguard their new interests.