History of Indonesia

Java War
Central Java, IndonesiaThe Java 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.