sentence1: Situated due east of Mysore, Srirangapatnam was the site of the battles against the Muslim ruler Tipu Sultan in the 1790s, in which the British gained control of the peninsula.
sentence2: Srirangapatnam is west of the Mysore area.  