The British had problems with Mysore because it had an alliance with the French. The Marathas attacked Hyder Ali and the British signed a treaty saying that they would help Hyder, but they never cared to show up. Between 1773 and 1779 Hyder Ali was expanding his kingdom. To counter the British threat, Nana Phadnavis, the Maratha chief minister at Pune formed an alliance with the Marathas, Mysore and the Nizam of Hyderabad.