The town of Shimla is a gateway for the north-western Himalayan region and is built across a range of hills and connecting ridges. In the 19th century the town was the summer headquarters of the government of the province thanks to its favourable climate. There were several European schools, a barracks and a sanatorium here.