mid-tenth century, Malwa was ruled by the Paramaras, who established a capital at Dhar. King Bhoja, who ruled from about 1010 to 1060, was known as the great polymath philosopher-king of medieval India; his extensive writings cover philosophy, poetry, medicine, architecture, construction, town planning, veterinary science, phonetics, yoga, and archery. Malwa became an intellectual centre of India, and became home to a major astronomical observatory, attracting scholars from all over India including Bhāskara II. His successors ruled until about 1305, when Malwa was conquered by the Delhi Sultanate. Malwa was several times invaded by the south Indian Western Chalukya Empire. Dilawar Khan, previously Malwa's governor under the rule of the Delhi sultanate, declared himself sultan of Malwa in 1401 after the Mughal conqueror Timur attacked Delhi, causing the break-up of the sultanate into smaller states. Khan started the Malwa Sultanate and established a capital at Mandu, high in the Vindhya Range overlooking the Narmada River valley. His son and successor, Hoshang Shah (1405–35), developed Mandu as an important city. Hoshang Shah's son, Ghazni Khan, ruled for only a year and was succeeded by Mahmud Khalji (1436–69), the first of the Khalji sultans of Malwa, who expanded the state to include parts of Gujarat, Rajasthan, and the Deccan. The Muslim sultans invited the Rajputs to settle in the country. In the early 16th century, the sultan sought the aid of the sultans of Gujarat to counter the growing power of the Rajputs, while the Rajputs sought the support of the Sesodia Rajput kings of Mewar.During that time Much of the Malwa was conquered by Rana Sanga of Mewar who appointed one of his close allies Medini Rai as ruler of Malwa under his lordship. Chanderi was capital of his kingdom.After the defeat of Rajput confederation in Battle of Khanwa near Agra against Babur which was fought for Supremacy of Northern India between Rajputs and Mughals.Babur then siege Chanderi offering Shamsabad to Medini rai instead of Chanderi as it was capital of his kingdom and was of great importance but Rai refused Babur offer and choose to die. He was defeated by Babur in January 1528 at Battle of Chanderi and Babur conquer the fort. Gujarat stormed Mandu in 1518. In 1531, Bahadur Shah of Gujarat, captured Mandu, executed Mahmud II (1511–31), and shortly after that, the Malwa sultanate collapsed. The Mughal emperor Akbar captured Malwa in 1562 and made it a