Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.

Where was the Song dynasty's headquarter I mean capital?
Where was the Song dynasty's capital?