 Complete the following phrase:  The kingdom reached the height of its military power and dominion in the latter half of the 18th century, under the de facto rulers Hyder Ali and his son Tipu Sultan. The latter demolished parts of Mysore to remove legacies of the Wodeyar dynasty. During this time, the kingdom of Mysore came into conflict with the Marathas, the British, and the Nizam of Hyderabad, leading to the four Anglo-Mysore wars, success in the first two of which was followed by defeat in the third and fourth. After Tipu Sultans death in the 