This was the final conflict of the four Anglo -- Mysore Wars. The British captured the capital of Mysore. The ruler Tipu Sultan was killed in the battle. Britain took indirect control of Mysore, restoring the Wodeyar Dynasty to the Mysore throne (with a British commissioner to advise him on all issues). Tipu Sultan's young heir, Fateh Ali, was sent into exile. The Kingdom of Mysore became a princely state in a subsidiary alliance with British India and ceded Coimbatore, Dakshina Kannada and Uttara Kannada to the British.\n\nBased on this passage, who was defeated and killed in the fourth mysore war at srirangapatna? Okie... think carefully first, then make a decision:
User
The relevant information to answer the above question is: The ruler Tipu Sultan was killed in the battle. So, the answer is Tipu Sultan.
Assistant