Question: who was defeated and killed in the fourth mysore war at srirangapatna
Answer: The ruler Tipu Sultan was killed in the battle .