Colonial and later authoritarian governments did not approve of Pramoedya's writings. They often censored his writing in Indonesia even though he was well known outside his home country. The Dutch imprisoned him from 1947 to 1949 during the War of Independence. During the coup when Suharto gained power, Pramoedya was involved in political fighting. Suharto put him in prison from 1969 to 1979 on the Maluku island called Buru. Suharto called Pramoedya a Communist. Suharto thought Pramoedya was still loyal to the Sukarno government even though Pramoedya had struggled with Sukarno.