 The Fifth Portuguese India Armada under Afonso de Albuquerque arrived in 1503, just in time to save the Cochin king from the Zamorin of Calicut.The Portuguese then turned their attention to the chieftains who had fought against the Cochin and committed many atrocities where they killed inhabitants in large numbers and indiscriminately burnt downtowns and villages.The Portuguese impressed upon the king the need to deal with his chiefs and entered into a treaty with the Anchi Kaimals whereby they accepted the overlordship of the Cochin throne.