On 17 August 1945, Sukarno and Hatta proclaimed independence, but the Dutch regained control of the town and adjoining areas. In February 1948, Buitenzorg was included in the quasi-independent state of West Java,() which was renamed Pasundan in April 1948 (). This state was established by the Netherlands as a step to transform their former colonial possessions in the East Indies into a dependent federation. In December 1949, Pasundan joined the Republic of the United States of Indonesia (, RIS) established at the Dutch–Indonesian Round Table Conference of 23 August2 November 1949. In February 1950, as a result of defeat of Pasundan in a quick military conflict with the Republic of Indonesia, the city became part of Indonesia, as formalized in August 1950, and its name was officially declared as Bogor.