Travancore became the most dominant state in Kerala by defeating the powerful Zamorin of Kozhikode in the battle of Purakkad in 1755.[11] In 1766, Haider Ali of Mysore defeated the Zamorin of Calicut and absorbed Calicut to his state.[2][12] After the Third Anglo-Mysore War (1790–1792), Malabar District including Zamorin's former territories were placed under the control of the East India Company. Eventually, the status of the Zamorin was reduced to that of a pensioner of the company (1806).[5][13]