The Indonesian National Revolution,[nb 1] also known as the Indonesian War of Independence, was an armed conflict and diplomatic struggle between the Republic of Indonesia and the Dutch Empire and an internal social revolution during postwar and postcolonial Indonesia. It took place between Indonesia’s declaration of independence in 1945 and the Netherlands’ transfer of sovereignty over the Dutch East Indies to the Republic of the United States of Indonesia at the end of 1949.[17]

Read more here: https://en.m.wikipedia.org/wiki/Indonesian_National_Revolution