Complex sentence: Jagdalpur is the administrative headquarters of Bastar District and Bastar Division and was the capital of the erstwhile princely state of Bastar.
Split into simpler sentences: Jagdalpur is the administrative headquarters of Bastar District and Bastar Division. It was earlier the capital of the erstwhile princely state of Bastar.