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.

Based on this passage, who was defeated and killed in the fourth mysore war at srirangapatna? Let's think fast. Stream of consciousness:
The relevant information to answer the above question is: The ruler Tipu Sultan was killed in the battle. So the final answer is Tipu Sultan.