After the collapse of Japan in 1945, the area went through a period of transition and upheaval during the Indonesian national struggle for independence.
On September 29, 1945, Anglo-Dutch troops arrived in Jakarta to disarm and repatriate the Japanese garrison.