Answer
Krishnaraja Wodeyar II was the ruler under whom Hyder Ali served. Hyder Ali was a military commander who rose through the ranks of the Mysore army and eventually became the de facto ruler of Mysore. He played a significant role in the Anglo-Mysore Wars and is remembered for his military prowess and strategic thinking.