Second Anglo-Mysore War
He negotiated the Treaty of Mangalore which brought an end to the Second Anglo-Mysore War in 1784. Macartney declined the governor-generalship of India—then the British territories administered by the British East India Company—and returned to Britain in 1786.