One of the founders of the Indonesian National Party (1927), he was Indonesian leader during the Japanese occupation (1942–45) and led the struggle for independence, which was granted by the Netherlands in 1949. From the mid-1950s his dictatorial tendencies aroused opposition. He was alleged to have taken part in the abortive Communist coup of 1965, after which he lost power to the army, being ousted two years later.