Shimla (Hindi: शिमला; Punjabi: ਸ਼ਿਮਲਾ; English pronunciation: /ˈʃɪmlə/; Hindi: [ˈʃɪmlaː] ( listen)), also known as Simla, is the capital and largest city of the northern Indian state of Himachal Pradesh. Shimla is also a district which is bounded by Mandi and Kullu in the north, Kinnaur in the east, the state of Uttarakhand in the south-east, and Solan and Sirmaur. In 1864, Shimla was declared as the summer capital of British India, succeeding Murree, northeast of Rawalpindi. After independence, the city became the capital of Punjab and was later named the capital of Himachal Pradesh. It is the principal commercial, cultural and educational centre of the hilly regions of the state. As of 2011, the city had 171,817 permanent residents, and was one of the least populous capital cities in India.
Small hamlets were recorded prior to 1815 when the English forces took control of the area. The climatic conditions attracted the British to establish the city in the dense forests of Himalayas. As the summer capital, Shimla hosted many important political meetings including the Simla Accord of 1914 and the Simla Conference of 1945. After independence, the state of Himachal Pradesh came into being in 1948 as a result of integration of 28 princely states. Even after independence, the city remained an important political centre, hosting the Simla Agreement of 1972. After the reorganisation, the Mahasu district and its major portion were merged with Shimla. Its name is derived from the goddess Shyamala Devi, an incarnation of the Hindu goddess Kali. As of 2011 Shimla comprises 19 hill states, namely Baghal, Baghat, Balsan, Bashahr, Bhajji, Bija, Darkoti, Dhami, Jubbal, Keonthal, Kumharsain, Kunihar, Kuthar, Mahlog, Mangal, Nalagarh (Hindur), Sangri and Tharoch.