 Another son, Pangeran Puger occupied Plered after the rebels left, and made a rival claim to the kingdom.Unable to take Plered from his brother, Amangkurat moved his capital to the newly-built Kartasura in 1680.Although abandoned as a capital, Plered played another role during the Java War or the Diponegoro War (1825–1830) between the Dutch and the Javanese forces under Prince Diponegoro.