The main causes of this war were Haider's ambition to drive the British away from the Carnatic and finally from India and the British realization of the threat posed to them by Haider. A tripartite alliance was formed against Haider by the British, the Nizam and the Marathas. Haider's success in breaking the alliance and declaration of war on the British. The war ended with the defeat of British. The panic-stricken Madras government concluded the humiliating Treaty of Madras in 1769 on the basis of mutual restitution of each other's territories and a defensive alliance between the two parties committing the English to help Hyder Ali in case he was attacked by another power.