The king Deva Raya II (1424–1446) of the Vijayanagara Empire conquered about the whole of present-day state of Kerala in the 15th century.[1] He defeated the Zamorin of Kozhikode, as well as the ruler of Kollam around 1443.[100] Fernão Nunes says that the Zamorin had to pay tribute to the king of Vijayanagara Empire.[100] Later Kozhikode and Venad seem to have rebelled against their Vijayanagara overlords, but Deva Raya II quelled the rebellion.[100] As the Vijayanagara power diminished over the next fifty years, the Zamorin of Kozhikode again rose to prominence in Kerala.[100] He built a fort at Ponnani in 1498.[100]