On August 17, 1945, after the news of Allied victory over Japan reached Indonesia, Sukarno proclaimed Indonesian independence. This started the Indonesian National Revolution against the British and Dutch. In this war, Pramoedya joined a paramilitary group in Karawang, Kranji (West Java). He was sent to Jakarta. In Jakarta, he wrote short stories and books, and propaganda for the Nationalist cause. The Dutch put him in Bukit Duri prison in Jakarta from 1947 until 1949, the year the Netherlands recognized Indonesian independence. While in prison, he wrote his first major novel "The Fugitive".