Tipu Sultan embraced martyrdom in which year

Tipu Sultan embraced martyrdom in which year
A: 1799
B: 1821
C: 1789
D: None of these

Tipu Sultan fell at Srirangapatna during the Fourth Anglo Mysore War in seventeen ninety nine. He resisted expansion by the East India Company and allied powers. Year based anchors matter in subcontinent history. Fix seventeen ninety nine for his death. Fix seventeen eighty two for the Treaty of Mangalore for broader context.