Complex sentence: During World War II he was chief of the Gestapo departments in Posen (Poznań) and Magdeburg and later served as director of security for the German V-weapons program.
Split into simpler sentences: During World War II he was chief of the Gestapo departments in Posen (Poznań) and Magdeburg. He later served as director of security for the German V-weapons program.