Tipu Sultan was born on November 20, 1750, at Devanahalli (near Bangalore). He was the eldest son of Hyder Ali, who was then a military commander in the Mysore army. Tipu ruled Mysore from 1782 until his death in 1799 fighting the British in the Fourth Anglo-Mysore War at Srirangapatna.