In 1945, after the Proclamation of Independence, the Department of Railways of the Republic of Indonesia (DKA) was founded, resulting in the transfer of ownership of the railway lines. After recognition of the independence of Indonesia by the Dutch in December 1949, the company became a national company with headquarters in Bandung, which then evolved into today's Kereta Api Indonesia.