After the rebellion had been put down, his successor Mangkurat II, decided to establish a new capital named Kartasura 50 km to the east.
In August 1705, Pakubuwono I’s retainers and VOC forces captured Kartasura without resistance from Amangkurat III, whose forces cowardly turned back when the enemy reached Ungaran.