The battle remained indecisive and peace was finally concluded with Tipu on 28 June 1784. The war ended by signing the peace treaty in 1784. The treaty was named as the treaty of Mangalore because the treaty was signed in Mangalore. The Treaty of Mangalore was signed between Tipu Sultan and the British East India Company on 11 March 1784. It was signed in Mangalore and brought an end to the Second Anglo-Mysore War.