In 1943, Wahid moved from Jombang to Jakarta where his father was involved with the Consultative Council of Indonesian Muslims (Masyumi), an organization established by the Imperial Japanese Army which occupied Indonesia at the time. After the Indonesian Declaration of Independence on 17 August 1945, Wahid moved back to Jombang and remained there during the fight for independence from the Netherlands during the Indonesian National Revolution. At the end of the war in 1949, Wahid moved to Jakarta as his father had been appointed Minister of Religious Affairs. He was educated in Jakarta, going to KRIS Primary School before moving to Matraman Perwari Primary School. Wahid was also encouraged to read non-Muslim books, magazines, and newspapers by his father to further broaden his horizons. He stayed in Jakarta with his family even after his father's removal as Minister of Religious Affairs in 1952. In April 1953, Wahid's father died in a car crash.