Original: The Allied powers who defeated Nazi Germany in World War II divided the country west of the Oder-Neisse line into four occupation zones for administrative purposes during the period 1945 -- 1949 .
Simplified: After World War II Nazi Germany west of the Oder-Neisse line was divided into four occupation zones .