Bangalore was controlled by Maharaja Sri Sir Chamarajendra Wadiyar X.
Bangalore . In 1638 , the Marāthās conquered and ruled Bangalore for almost 50 years , after which the Mughals captured and sold the city to the Mysore Kingdom of the Wadiyar dynasty . The old city developed in the dominions of the Maharaja of Mysore and was made capital of the Princely State of Mysore , which existed as a nominally sovereign entity of the British Raj .