Tipu Sultan, the ruler of the Kingdom of Mysore, faced his final defeat and death in the Fourth Anglo- Mysore War in 1799. The British forces, led by Governor-General Lord Wellesley, besieged and captured Srirangapatnam, Tipu's capital, on May 4, 1799, where he was killed defending the fort.