First Anglo-Mysore War
Tipu Sultan then led a cavalry raid on Madras (now Chennai) itself, but his father suffered a defeat by the British at Tiruvannamalai and had to call his son back. Hyder Ali decided to take the unusual step of continuing to fight during the monsoon rains, and together with Tipu he captured two British forts. The Mysorean army was besieging a third fort when British reinforcements arrived. Tipu and his cavalry held off the British long enough to allow Hyder Ali's troops to retreat in good order.
Hyder Ali and Tipu Sultan then went on a tear up the coast, capturing forts and British-held cities. The Mysoreans were threatening to dislodge the British from their key east coast port of Madras when the British sued for peace in March 1769.
After this humiliating defeat, the British had to sign a 1769 peace agreement with Hyder Ali called the Treaty of Madras. Both sides agreed to return to their pre-war boundaries and to come to each others' aid in case of attack by any other power. Under the circumstances, the British East India Company got off easy, but it still would not honor the treaty terms.