The 1820s (pronounced "eighteen-twenties") was a decade of the Gregorian calendar that began on January 1, 1820, and ended on December 31, 1829. It saw the rise of the First Industrial Revolution. Photography, rail transport, and the textile industry were among those that largely developed and grew prominent over the decade, as technology advanced significantly. European colonialism began gaining ground in Africa and Asia, and trade with the Qing Dynasty began to open up more towards foreign traders, particularly those from Europe. As European imperialism gained momentum, opposition from affected/exploited societies resulted, with wars such as the Java War and the Greek War of Independence. Resistance in the form of separatism and nationalism (particularly in the Spanish American wars of independence) led to the independence of many countries around the world, such as Brazil, Peru, and Bolivia. Politics and wars The Greek War of Independence and the Russo-Turkish War were two of the decade's more important conflicts. Meanwhile, colonialism in Africa had just begun to accelerate, and global trade between Asian powers (e.g. the Qing Dynasty) with European powers (mainly the British and French empires) increased substantially. In South America, states such as Bolivia, Peru, and Brazil gained independence from the Spanish Empire and Portuguese Empire. Global 1820: Anchor coinage is issued for use in some British colonies. East Asia Indonesia 1824 – The Dutch sign the Masang Agreement, temporarily ending hostilities in the Padri War in West Sumatra. Java War The Java War (also known as the "Diponegoro War") was fought in Java between 1825 and 1830. It started as a rebellion led by Prince Diponegoro after the Dutch decided to build a road across a piece of his property that contained his parents' tomb. The troops of Prince Diponegoro were very successful in the beginning, controlling the middle of Java and besieging Yogyakarta. Furthermore, the Javanese population was supportive of Prince Diponegoro's cause, whereas the Dutch colonial authorities were initially very indecisive. As the Java war prolonged, Prince Diponegoro had difficulties in maintaining the numbers of his troops. Prince Diponegoro started a fierce guerrilla war and it was not until 1827 that the Dutch army gained the upper hand. The Dutch colonial army was able to fill its ranks with troops from Sulawesi, and later on from the Netherlands. The rebellion finally ended in 1830, after Prince Diponegoro was tricked into entering Dutch custody near Magelang, believing he