During the physical revolution from 1945 to 1949, the Indonesian Central Government in Jakarta was forced to flee to Purworejo and then to Yogyakarta, as well as the Ministry of Public Works. After the Dutch Government in 1949 recognized the independence of the Republic of Indonesia, the center of the Indonesian government in Yogyakarta was moved again to Jakarta.