The Java War () or Diponegoro War () was fought in central Java from 1825 to 1830, between the colonial Dutch Empire and native Javanese rebels. The war started as a rebellion led by Prince Diponegoro, a leading member of the Javanese aristocracy who had previously cooperated with the Dutch. The rebel forces laid siege to Yogyakarta, a move that prevented a quick victory. This gave the Dutch time to reinforce their army with colonial and European troops, allowing them to end the siege in 1825. After this defeat, the rebels continued fighting a guerrilla war for five years. The war ended in a Dutch victory, and Prince Diponegoro was invited to a peace conference. He was betrayed and captured. Due to the cost of the war, Dutch colonial authorities implemented major reforms throughout the Dutch East Indies to ensure the colonies remained profitable. History The direct cause of the Java War was the decision by the Dutch to build a road across a piece of Diponegoro's property that contained his parents' tomb. Longstanding grievances reflected tensions between the Javanese aristocracy and the increasingly powerful Dutch. Javanese aristocratic families were resentful about Dutch laws restricting their rental profits. The Dutch, meanwhile, were unwilling to lose influence over the Yogyakartan court. Dutch influence also affected the cultural dynamics of Java. A devout Muslim, Diponegoro was alarmed by the increasingly relaxed religious observance at court. This included the rising influence of Christian Dutch colonists and the court's pro-Dutch leanings. Among Diponegoro's followers, the war was described as a jihad "both against the Dutch and the murtad or apostate Javanese." Following a common colonial strategy, the Dutch worked to exacerbate a succession crisis for the Yogyakartan throne. Diponegoro was the eldest son of Hamengkubuwono III, but his right to succeed was disputed because his mother was not the queen. Diponegoro's rivals were his younger half-brother Hamengkubuwono IV and his then-infant nephew Hamengkubuwono V, who were supported by the Dutch. Hostilities The Java War began 21 July 1825 when Prince Diponegoro raised the standard of revolt on his estate at Selarong. The rebel forces were successful in the early stages of the war, taking control of central Java and besieging Yogyakarta. The Javanese population was generally supportive of Prince Diponegoro's cause, as the Javanese peasantry had been adversely affected by the implementation of an exploitive cultivation system. The system required villages to grow export