Shortly after the war, Indonesia declared its independence. The Dutch sent soldiers to fight in Indonesia. After other countries, including the United States, told the Dutch to leave Indonesia, they finally did so in 1949.