It was in 1732, at the invitation of the chief of Palakkad, that Mysore forces marched to Kerala for the first time. They appeared again in 1735, and in 1737 they raided the Samoothiri's frontier outposts. In 1745, the Mysore forces fought three battles with the Kozhikode warriors. In 1756 they invaded Kozhikode for the fifth time. The chief of Palakkad had placed himself under the protection of the King of Mysore, agreeing to pay an annual tribute of 12,000 "fanams". The Faujdar of Dindigul, Hyder Ali, sent Mukhdam Sahib, with 2000 cavalry, 5,000 infantry, and 5 guns to Kerala. The Samoothiri tried to buy off the enemy by promising (Treaty, 1756) to refrain from molesting Palakkad and pay 12 lakh rupees for the expenses of the expedition. However the Samoothiri was unable pay anything to Hyder Ali.