Complex sentence: During the Southern and Northern Dynasties period, it was the capital of the Western Liang; in Five Dynasties and Ten Kingdoms Period, it was the capital of the Nanping State.
Split into simpler sentences: During the Southern and Northern Dynasties period, it was the capital of the Western Liang. In the Five Dynasties and Ten Kingdoms Period, it was the capital of the Nanping State.