Passage: Trunajaya rebellion  or Trunajaya War was the ultimately unsuccessful rebellion waged by the Madurese prince Trunajaya and fighters from Makassar against the Mataram Sultanate and its Dutch East India Company  supporters in Java  during the 1670s. The rebellion was initially successful: the rebels defeated the royal army at Gegodog , captured most of the Javanese north coast, and took the Mataram capital Plered . King Amangkurat I died during the retreat of the royal court. His son and successor, Amangkurat II, requested help from the VOC in exchange for financial remuneration and geopolitical concessions. The VOC's subsequent involvement turned the tide of the war. VOC and Mataram forces recovered lost territories and overran Trunajaya's new capital at Kediri . However, the rebellion continued until the capture of Trunajaya at the end of 1679, and the defeat, death, or surrender of the other rebel leaders . Trunajaya was killed by Amangkurat II personally in 1680 while a prisoner of the VOC. After his father's death in 1677, Amangkurat II also faced rival claims to the throne. The most serious rival was his brother Pangeran Puger, who took the capital Plered in 1677 and did not surrender until 1681.
How many names does the Trunajaya rebellion have? How many years after Pangeran Puger took Plered did he surrender? How many years did Pangeran Puger hold the capital Plered? How many years did it take for Pangeran Puger to surrender in Plered? How many years was it between Trunajaya's capture and his death while prisoner of the VOC? What was captured first: Plered or Trunajaya? What was captured last: Plered or Trunajaya? Which happened first, the Trunajaya rebellion or the death of Trunajaya? Which happened first, the defeat of the royal army at Gegodog, or the death of King Amangkurat? Who died last: Amangkurat I or Amangkurat II? Who died later, Amangkurat I or Amangkurat II? Who was Amangkurat II's father? Who was Pangeran Puger's father? Who was born first: Amangkurat I or Amangkurat II? Who was born last: Amangkurat I or Amangkurat II? Who were King Amangkurat I two sons?