The Fourth Anglo–Mysore War (1798–1799) was a war in South India between the Kingdom of Mysore and the British East India Company under the Earl of Mornington.
This was the final conflict of the four Anglo–Mysore Wars. The British 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, Uttara Kannada, and Dakshina Kannada to the British.
The war, specifically the Battle of Mallavelly and the Siege of Seringapatam, with many of the key protagonists, is covered in the historical novel Sharpe's Tiger.