Mysore, officially Mysuru, is a metropolitan city in the southern Indian state of Karnataka. It is the state's third-most populous and is one of the cleanest cities in India according to Swachh Survekshan. It is the seat of the Wadiyar dynasty and was the capital of the Kingdom of Mysore for almost six centuries, from 1399 until 1947. It is currently the headquarters of Mysore district and Mysore division. Known for its heritage structures and palaces, including the famous Mysore Palace, and noted for its culture, Mysore is popularly known as the "City of Palaces", the "Heritage City", and the "Cultural Capital of Karnataka". For its pristine and calm ambience, it is also known as "Pensioners' Paradise".