The sultanate was founded on 3 August 1347 by governor Ala-ud-Din Hassan Bahman Shah, possibly of Tajik-Persian descent, who revolted against the Sultan of Delhi, Muhammad bin Tughluq. Nazir uddin Ismail Shah who had revolted against the Delhi sultanate stepped down on that day in favour of Zafar Khan who ascended the throne with the title of Alauddin Bahman Shah. His revolt was successful, and he established an independent state on the Deccan within the Delhi Sultanate's southern provinces. The Bahmani capital was Ahsanabad (Gulbarga) between 1347 and 1425 when it was moved to Muhammadabad (Bidar). The Bahmani contested the control of the Deccan with the Hindu Vijayanagara empire to the south. The sultanate reached the peak of its power during the vizierate (1466â€“1481) of Mahmud Gawan. After 1518 the sultanate broke up into five states: Ahmednagar, Berar, Bidar, Bijapur, and Golconda, known collectively as the Deccan sultanates.