 In 1945, President Edvard Beneš revoked the citizenship of ethnic Germans and Hungarians by decree  33, except for those with an active anti-fascist past (see Beneš Decrees).Immediately at the end of World War II, some 30,000 Hungarians left the formerly Hungarian re-annexed territories of southern Slovakia.While Czechoslovakia expelled ethnic Germans, the Allies prevented a unilateral expulsion of Hungarians.