By July 1944, Germany was losing the war; the SS began closing down the easternmost concentration camps and deporting the remaining prisoners westward. Many were killed in Auschwitz and the Gross-Rosen concentration camp. Oscar Schindler convinced SS-Hauptsturmführer Amon Göth, commandant of the nearby Kraków-Płaszów concentration camp, to allow him to move his factory to Brünnlitz in the Sudetenland, thus sparing his workers from almost certain death in the gas chambers.
Source: Wikipedia