Which city was the summer capital of India during British Rule?

Nainital.