Answer
Tipu Sultan, the ruler of the Kingdom of Mysore, died on May 4, 1799, during the Fourth Anglo-Mysore War. British forces under General George Harris besieged his capital, Srirangapatna, and breached its defenses. Tipu Sultan led a desperate counterattack but was killed in the fighting. His death marked the end of the war and the collapse of the Kingdom of Mysore.