After the war the few Jews who survived in hiding or by escaping to Soviet territory reestablished a small Jewish community in the city, but it quickly shrank to insignificance as most Jews left Poland for Israel and the West in the immediate postwar years. The Majdanek camp, together with the prison established in the Lublin castle, also served as a major centre of terror measures aimed at the non-Jewish population of Lublin and the surrounding district.