Chandigarh serves as the capital for three separate political entities - the state of Punjab, the state of Haryana, and the Union Territory of Chandigarh itself. This unique arrangement exists because Chandigarh was designed to replace Lahore (which went to Pakistan during partition) as the capital of East Punjab.