The correct option is B Chikkadevaraya
When Chikkadevaraya was Raja of the Mysuru Kingdom, the Marathas and Mughals were also ruling other parts of the Indian subcontinent. Chikkadevaraya was an intelligent ruler when it came to dealing with the Marathas and Mughals. Around 330 years back, Chikkadevaraya bought Bengaluru from the Marathas for three lakh rupees.