Correct option is A
The correct answer is (a) Treaty of Mangalore
The Second Anglo-Mysore War, which occurred from 1780 to 1784, ended with the signing of the Treaty of Mangalore.
The Second Anglo-Mysore War was a conflict between the Kingdom of Mysore and the British East India Company along with its allies, including the Maratha Empire and the Nizam of Hyderabad.
The war began when the British captured the French-controlled port of Mahé, which was an ally of Mysore. In response, Hyder Ali, the ruler of Mysore, launched attacks on British-held territories in the region.
The war concluded with the signing of the Treaty of Mangalore in 1784, between Tipu Sultan and the British East India Company.
This treaty is notable because it was one of the few instances where the British made a pact on equal terms with an Indian ruler.
Under the terms of the treaty, both parties agreed to return all captured territories to their pre-war rulers and to release all prisoners of war.