Bangalore became a capital after the Fourth Anglo-Mysore War.
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 .	State	States of India	capital	Capital city	British	British East India Company	Maharaja of Mysore	Maharaja of Mysore	Princely State of Mysore	Princely State of Mysore	British Raj	British Raj
It was captured by the British after victory in the Fourth Anglo-Mysore War -LRB- 1799 -RRB- , who returned administrative control of the city to the Maharaja of Mysore .	British	British East India Company	Fourth Anglo-Mysore War	Fourth Anglo-Mysore War	Maharaja of Mysore	Maharaja of Mysore
