Complex sentence: When Herat did not surrender he reduced the city to rubble and massacred most of its citizens; it remained in ruins until Shahrukh Mirza ordered it's reconstruction.
Split into simpler sentences: When Herat did not surrender to him he reduced the city to rubble and massacred most of its citizens. It remained in ruins until Shahrukh Mirza ordered it's reconstruction.