As a result, almost all ethnic Germans and Hungarians whose ancestors had lived in Czechoslovakia for centuries prior to World War II or those who had settled there during the German occupation of Czechoslovakia lost their Czechoslovakian citizenship and property and were expelled from their homes. Some of them died during the expulsion process which took place during the late 1940s. The Beneš decrees were enforced differently in different parts of the country with some decrees being valid only in Bohemia and Moravia, while the ordinances of SNR were enforced in Slovakia.