Complex sentence: In April 1940, Weidling was appointed Artillery Commander of the XL Panzer Corps, and served in this post during the Battle of France and during the early stages of Operation "Barbarossa".
Split into simpler sentences: In April 1940, Weidling was appointed Artillery Commander of the XL Panzer Corps. He commanded this corps during the Battle of France and during the early stages of Operation "Barbarossa".