Complex sentence: Beyer was a General Staff Officer of the Bundesheer's 6.Division (stationed in Innsbruck), after the Anschluss he was incorporated into the Wehrmacht where he was given command of XVII Korps, he held the post till his death in 1940.
Split into simpler sentences: Beyer was a General Staff Officer of the Bundesheer's 6.Division (stationed in Innsbruck). After the Anschluss he was incorporated into the Wehrmacht where he was given command of XVII Korps, a post he held until his death in 1940.