Formation of the Republican government
By the end of August, a central Republican government had been established in Jakarta. It adopted a constitution drafted during the Japanese occupation by the Preparatory Committee for Indonesian Independence. With general elections yet to be held, a Central Indonesian National Committee (KINP) was appointed to assist the President. Similar committees were established at provincial and regency levels.
Questions of allegiance immediately arose amongst indigenous rulers. Central Javanese principalities, for example, immediately declared themselves Republican, while many raja ('rulers') of the outer islands, who had been enriched from their support of the Dutch, were less enthusiastic. Such reluctance among many outer islands was sharpened by the radical, non-aristocratic, and sometimes Islamic nature of the Java-centric Republican leadership. Support did, however, come from South Sulawesi (including the King of Bone, who still recalled battles against the Dutch from early in the century), and from Makassarese and Bugis raja, who supported the Republican Governor of Jakarta, a Menadonese Christian. Many Balinese raja accepted Republican authority.
Fearing the Dutch would attempt to re-establish their authority over Indonesia, the new Republican Government and its leaders moved quickly to strengthen the fledgling administration. Within Indonesia, the newly formed government, although enthusiastic, was fragile and focused in Java (where focused at all). It was rarely and loosely in contact with the outer islands, which had more Japanese troops (particularly in Japanese naval areas), less sympathetic Japanese commanders, and fewer Republican leaders and activists. In November 1945, a parliamentary form of government was established and Sjahrir was appointed Prime Minister.
In the week following the Japanese surrender, the Giyugun (PETA) and Heiho groups were disbanded by the Japanese. Command structures and membership vital for a national army were consequently dismantled. Thus, rather than being formed from a trained, armed, and organised army, the Republican armed forces began to grow in September from usually younger, less trained groups built around charismatic leaders. Creating a rational military structure that was obedient to central authority from such disorganisation, was one of the major problems of the revolution, a problem that remains through to contemporary times. In the self-created Indonesian army, Japanese-trained Indonesian officers prevailed over those trained by the Dutch[citation needed]. A thirty year-old former school teacher, Sudirman, was elected 'commander-in-chief' at the first meeting of Division Commanders in Yogyakarta on 12 November 1945