For a long time this question has puzzled me,
"How can a Union Territory be the capital of a state??"
P.S: Here, by "state" I don't mean the country....
For example:
Chandigarh (Union Territory) is the capital of Haryana and Punjab.
"Chandigarh...is a city and a union territory in the northern part of India that serves as the capital of the states of Haryana and Punjab. As a union territory, the city is ruled directly by the Union Government of India and is not part of either state."
How can a city that is not part of either of the states be the capital of one?