The military occupation of Czechoslovakia by Nazi Germany began with the German annexation of the Sudetenland in 1938, continued with the creation of the Protectorate of Bohemia and Moravia, and by the end of 1944 extended to all parts of Czechoslovakia.
Following the Anschluss of Austria in March 1938 and the Munich Agreement in September of that same year, Adolf Hitler annexed the Sudetenland from Czechoslovakia on 1 October, giving Germany control of the extensive Czechoslovak border fortifications in this area. The incorporation of the Sudetenland into Germany left the rest of Czechoslovakia ("Rest-Tschechei" ) with a largely indefensible northwestern border. Also a Polish-majority borderland region of Trans-Olza which was annexed by Czechoslovakia in 1919, was occupied and annexed by Poland following the two-decade long territorial dispute. Finally the First Vienna Award gave to Hungary the southern territories of Slovakia and Carpathian Ruthenia, mostly inhabited by Hungarians.