After the formation of the Czechoslovak Republic in 1918, Bratislava remained a multi-ethnic city, but with a different demographic trend. Due to Slovakization, the proportion of Slovaks and Czechs increased in the city, while the proportion of Germans and Hungarians fell. In 1938, 59% of population were Slovaks or Czechs, while Germans represented 22% and Hungarians 13% of the city's population. The creation of the first Slovak Republic in 1939 brought other changes, most notably the expulsion of many Czechs and the deportation or flight of the Jews during the Holocaust. In 1945, most of the Germans were evacuated. After the restoration of Czechoslovakia, the Beneš decrees (partly revoked in 1948) collectively punished ethnic German and Hungarian minorities by expropriation and deportation to Germany, Austria, and Hungary for their alleged collaborationism with Nazi Germany and Hungary against Czechoslovakia.