Tipu Sultan's capital was Srirangapatnam, where he ruled from 1782 until his death in 1799 during the Fourth Anglo-Mysore War. While he ruled the Kingdom of Mysore, the question asks where he ruled from (his administrative seat), not what kingdom he ruled.