Complex sentence: The name Pathankot comes from Pathania Rajput who was Royal king of Nurpur, and Pathankot which was the capital of Nurpur prior to 1849.
Split into simpler sentences: The name Pathankot comes from Pathania Rajput who was Royal king of Nurpur. Pathankot was the capital of Nurpur prior to 1849.