The Treaty of Srirangapatnam was signed in 1792, marking the end of the Third Anglo-Mysore War. It was a peace treaty between Tipu Sultan and the British East India Company, represented by Lord Cornwallis, along with the Marathas and the Nizam of Hyderabad. As a result of the treaty, Tipu Sultan had to cede half of his kingdom to the allies.