After Japan surrendered to the Allies and the Indonesia proclaimed its independence, Pangkalpinang became part of Indonesia. (initially as part of the province of South Sumatra). After the country's political landscape changed, Bangka Belitung Islands were separated from South Sumatra and combined as a province with Pangkalpinang its capital.