Shimla served as the summer capital of British India from 1864 onwards. The British moved to the cooler hills during summer months to escape the heat of the plains. Nainital, Darjeeling, and Ooty were hill stations but not the official summer capital.