In 756 AD Gurjara-Pratiharas advanced into Malwa. In 786 the region was captured by the Rashtrakuta kings of the Deccan, and was disputed between the Rashtrakutas and the Gurjara Pratihara kings of Kannauj until the early part of the tenth century. The Emperors of the Rashtrakuta dynasty appointed the Paramara rulers as governors of Malwa. From the 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.