Srirangapatna is a small town near Mysore in India. Tipu Sultan ruled the Mysore state from Srirangapatna. The whole town is surrounded by the Cauvery river and makes Srirangapatna a unique island town. The town was the scene of at least one of the three battles that Tipu fought with the British based in Madras, and the place where he was killed ultimately. The town, among other things, is famous for a 1000 year old temple dedicated to Sri Ranganatha Swamy (a form of Lord Vishnu), after whom the town obtained its name.