In 1571, the Portuguese were defeated by the Zamorin forces in the battle at Chaliyam Fort.[64] The Portuguese were ousted by the Dutch East India Company, who during the conflicts between the Kozhikode and the Kochi, gained control of the trade.[65]