In 1518, the Bahmani Sultanate split into five splinter states known as the Deccan sultanates, one of which was Bijapur, ruled by the kings of the Adil Shahi dynasty (1490–1686). The city of Bijapur owes much of its greatness to Yusuf Adil Shah, the founder of the independent state of Bijapur. The rule of this dynasty ended in 1686, when Bijapur was conquered during the reign of Mughalemperor Aurangzeb. In 1724 the Nizam of Hyderabad established his independence in the Deccan, and included Bijapur within his dominions. In 1760, the Nizam suffered a defeat by the Marathas, and ceded the region of Bijapur to the Maratha Peshwa. After the 1818 defeat of the Peshwa by the British in the Third Anglo-Maratha War, Bijapur passed into the hands of the British East India Company, and was assigned to the princely state Satara. In 1848 the territory of Satara, along with Bijapur, was annexed to Britain's Bombay Presidency when the last ruler died without a male heir. The British carved a new district by the name Kaladagi. The district included present-day Bijapur and Bagalkot districts. Bijapur was made the administrative headquarters of the district in 1885, when the headquarters were moved from Bagalkot. After India's Independence in 1947, the district became part of Bombay state, and was reassigned to Mysore State, later Karnataka, in 1956. The former southern taluks of the district were separated in 1997 to form Bagalkot District