Complex sentence: Mian Ghulam Shah Kalhora was admired as the saintly ruler of Sindh at the time his capital Khudabad near Dadu was repeatedly flooded and after being fed up, he decided to move his capital to a better place.
Split into simpler sentences: Mian Ghulam Shah Kalhora was admired as the saintly ruler of Sindh at the time his capital Khudabad near Dadu was repeatedly flooded. Being fed up, he decided to move his capital to a better place.