Java was once heavily forested but is now known for rice production. The Dutch colonized Indonesia in the 1600s and managed the forests of Java, harvesting timber to build ships. One community, the Kalangs, were skilled woodcutters and shifting cultivators who were valuable to the kings of Java for harvesting teak and building palaces. However, in the 1700s the Dutch tried to control the Kalangs as they gained control over the forests, which the Kalangs resisted by attacking a Dutch fort in 1770 in an uprising that was ultimately suppressed.