 The successes of Bijapur and Shivaji were being watched warily by the major imperial presence on the subcontinent , the Mughal Empire in North India . Having become the Mughal emperor in 1659 , Aurengzeb , soon set himself upon destroying the Sultanates of Bijapur and Golconda , the latter famous for its diamond mines , as well as the burgeoning Maratha power of Shivaji . In 1686 , the Mughals took Bijapur and , the following year , Golconda . Before long , fast moving Mughal armies were bearing down on the former Vijayanagara dominions . In 1687 , a new Mughal province ( or suba ) was created with capital at Sira . Bangalore , quickly taken by the Mughals from the Marathas , was sold to the Wodeyar of Mysore for 300 @,@ 000 rupees . Qasim Khan was appointed the first Mughal Faujdar Diwan ( literally , " military governor " ) of the Province of Sira . 
