The Mughals sold Bangalore to an Indian dynasty.
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 Kingdom of Mysore was a kingdom in southern India , traditionally believed to have been founded in 1399 in the vicinity of the modern city of Mysore . The Wadiyar ( alternatively spelt Wodeyer or Odeyer ) dynasty was an Indian dynasty that ruled the Kingdom of Mysore from 1399 to 1761 and from 1799 to 1947 .