The Czech territory was occupied by Germany, which transformed it into the Protectorate of Bohemia and Moravia. The protectorate was proclaimed part of the Third Reich, and the president and prime minister were subordinated to Nazi Germany's "Reichsprotektor". One Nazi concentration camp was located within the Czech territory at Terezín, north of Prague. The Nazi "Generalplan Ost" called for the extermination, expulsion, Germanization or enslavement of most or all Czechs for the purpose of providing more living space for the German people. There was Czechoslovak resistance to Nazi occupation as well as reprisals against the Czechoslovaks for their anti-Nazi resistance. The German occupation ended on 9 May 1945, with the arrival of the Soviet and American armies and the Prague uprising.