Complex sentence: The Swat Valley for much of its history was an independent kingdom separate from Kashmir and Gandhara and remained isolated due to the rugged topography of the region.
Split into simpler sentences: The Swat Valley for much of its history was an independent kingdom separate from Kashmir and Gandhara. It remained isolated due to the topography of the region.