Srirangapatna remained part of the Kingdom of Mysore from 1610 to after India's independence in 1947; as the fortress closest to the capital city of Mysore, it was the last bastion and defence of the kingdom in case of invasion.
Srirangapatna was the scene of the last and decisive battle fought between Tipu Sultan and a combined force of 50,000 men provided equally by the Nizam of Hyderabad and the East India Company under the overall command of General George Harris.