Mysore, officially renamed as Mysuru, is the third largest city in terms of population in the state of Karnataka, India, which served as the capital city of Mysore Princely Kingdom (Kingdom of Mysore) for nearly six centuries, from 1399 until 1947. Located at the base of the Chamundi Hills about 146 km (91 mi) southwest of the state capital Bangalore, it is spread across an area of 128.42 km2 (50 sq mi). According to the provisional results of the 2011 national census of India, the population of Mysore is 887,446. Mysore City Corporation is responsible for the civic administration of the city, which is also the headquarters of the Mysore district and the Mysore division. Mysore is the cleanest city of India.The Kingdom of Mysore was ruled by the Wodeyar dynasty, except for a brief period in the late 18th century when Hyder Ali and Tipu Sultan were in power. Patrons of art and culture.