After the Polish defeat in the invasion of Poland of 1939 and the subsequent German and Soviet occupation of Polish territory, Poland was divided into the areas directly incorporated into the Reich, areas directly incorporated into the Soviet Union and the German-controlled General Government. According to Nazi racial theories the Slavs needed no higher education and the whole nation was to be turned into uneducated serfs for the German race. The only schools that remained opened were trade schools and courses for factory workers. Himmler prescribed: