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 Bijapur Sultanate. The rule of this dynasty ended in 1686, when Bijapur was conquered by the Mughal emperor 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 of Satara.