 It marked the beginning of the Dutch presence in Kerala and they concluded a treaty with Kozhikode on 11 November 1604.By this time the kingdom and the port of Kozhikode was much reduced in importance.The treaty provided for a mutual alliance between the two to expel the Portuguese from Malabar.