After the Japanese surrendered in August 1945, the former Dutch East Indies declared independence as the Republic of Indonesia. However, this was opposed by the returning Dutch, resulting the Indonesian war of independence. Over the course of the war, Banten remained under the Republican control. On 26 February 1948, the State of West Java (Indonesian: "Negara Jawa Barat," Sundanese: "Negara Jawa Kulon") was established and, on 24 April 1948, the state was renamed Pasundan. Pasundan became a federal state of the United States of Indonesia in 1949 but was incorporated into the Republic of Indonesia (itself also a constituent of the USI) on 11 March 1950.