 Prince Ravi Varma met General Meadows at Trichinopoly and settled with him the terms of the Kozhikode's cooperation.After the Third Mysore War (1790–1792), Malabar was placed under the control of the Company by the Treaty of Seringapatam.In the settlement negotiations with the Joint Commission in 1792, the Samoothiri proved recalcitrant.