Similar to Chandigarh , this town , which is now capital of Himachal Pradesh , was built back in the early years of the 19th century when the British colonial settlers were desperately searching for refuge from the heat of the plains .
The town is the capital of Himanchal Pradesh and was built in the 19th century .