There were over 400,000 people living in Karafuto when the Soviet offensive began in early August 1945. Most were of Japanese or Korean extraction, though there was also a small White Russian community as well as some Ainu indigenous tribes. By the time of the ceasefire approximately 100,000 civilians had managed to escape to Hokkaidō. The military government established by the Soviet Army banned the local press, confiscated cars and radio sets and imposed a curfew. Local managers and bureaucrats were made to aid Russian authorities in the process of reconstruction, before being deported to labor camps, either on North Sakhalin or in Siberia. In schools, courses in Marxism–Leninism were introduced, and Japanese children were obliged to sing songs in praise of Stalin.