Mysore troops at Sholinghur a month later. Haider Ali died on 7 December 1782, even as fighting continued with the British. He was succeeded by his son Tipu Sultan who continued hostilities against the British by recapturing Baidanur and Mangalore. By 1783 neither the British nor Mysore were able to obtain a clear overall victory. The French withdrew their support of Mysore following the peace settlement in Europe. Undaunted, Tipu, popularly known as the "Tiger of Mysore", continued the war against the British but lost some regions in modern coastal Karnataka to them. The Maratha–Mysore War occurred between 1785 and 1787 and consisted of a series of conflicts between the Sultanate of Mysore and the Maratha Empire. Following Tipu Sultan's victory against the Marathas at the siege of Bahadur Benda, a peace agreement was signed between the two kingdoms with mutual gains and losses. Similarly, the treaty of Mangalore was signed in 1784 bringing hostilities with the British to a temporary and uneasy halt and restoring the others' lands to the status quo ante bellum. The treaty is an important document in the history of India, because it was the last occasion when an Indian power dictated terms to the British, who were made to play the role of humble supplicants for peace. A start of fresh hostilities between the British and French in Europe would have been sufficient reason for Tipu to abrogate his treaty and further his ambition of striking at the British. His attempts to lure the Nizam, the Marathas, the French and the Sultan of Turkey failed to bring direct military aid. Tipu's successful attacks in 1790 on the Kingdom of Travancore, a British ally, was an effective victory for him, however it resulted in greater hostilities with the British which resulted in the Third Anglo-Mysore War. In the beginning, the British made gains, taking the Coimbatore district, but Tipu's counterattack reversed many of these gains. By 1792, with aid from the Marathas who attacked from the north-west and the Nizam who moved in from the north-east, the British under Lord Cornwallis successfully besieged Srirangapatna, resulting in Tipu's defeat and the Treaty of Srirangapatna. Half of Mysore was distributed among the allies, and two of his sons were held to ransom. A humiliated but indomitable Tipu went about re-building his economic and military power. He attempted to covertly win over support from Revolutionary France, the Amir