In 1571, the Portuguese were defeated by the Zamorin forces in the battle at Chaliyam Fort.[119] An insurrection at the Port of Quilon between the Arabs and the Portuguese led to the end of the Portuguese era in Quilon.