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.