Shimla is governed by the Shimla Municipal Corporation (SMC), which was established in 1851, making it one of the oldest municipalities in India. The SMC is responsible for the civic infrastructure and administration of the city, governed by a Mayor and a council of elected ward councilors representing different neighborhoods.
As the capital of Himachal Pradesh, Shimla holds immense political importance. It houses the Himachal Pradesh Vidhan Sabha (State Legislative Assembly) and the Secretariat, where the Chief Minister and state cabinet operate.
The city falls under the Shimla Lok Sabha (parliamentary) constituency, which elects a representative to the national parliament in New Delhi. Public services, including urban planning and environmental regulation, are tightly managed due to the city's fragile ecology and heritage status.
