 Around this time , 1687 , Chikka Devaraja purchased the city of Bangalore for Rs . 300 @,@ 000 from Qasim Khan , the new Mughal governor of the Province of Sira . Through the latter , Chikka Devaraja " assiduously cultivated an alliance " with Mughal emperor Aurangzeb . He also turned his attention to the regions that were less the objects of Moghul interest . The regions to the southeast below the Eastern Ghats mountains around <unk> and Salem were annexed to Mysore , and , in 1694 , regions in the southwest up to the Baba <unk> mountains on the western edge of the Deccan Plateau , were added . Two years later Chikka Devaraja attacked lands farther south belonging to the Madurai Nayak ( also " Madura " ) and laid a siege of Trichinopoly . ( See Map 7 . ) 
