The '''capital of the Republic of Indonesia''' is Jakarta, as set according to Act Number 10 of 1964 (''Undang-Undang Nomor 10 Tahun 1964''). Located on the island of Java, Jakarta was formerly called Batavia during the Dutch colonial period. In the early 20th century, the Dutch East Indies government attempted to relocate the capital from Batavia to Bandung. During Indonesia's struggle for independence, the Indonesian government moved the capital to Yogyakarta and then to Bukittinggi, where it remained for a short time until the restoration of control to Jakarta.