The treaty terms forced by the victors on Tipu were harsh. Mysore's size was reduced by half, with the company, the nizam, and the Marathas sharing in the spoils. The territories taken by the company were chosen in part to ease the difficulty of defending against future attacks from Mysore, although the final war with Mysore was initiated by the British in anticipation of further military action by Tipu. In that war, Seringapatam was stormed and Tipu died in its defence.