He ended his military career in 1630. At the request of the Emperor, he became president of the Hofkriegsrat in 1632, a post he would hold until 1649. He was one of the most important adversaries of Albrecht von Wallenstein. He returned a last time to the battlefield when Swedish general Königsmarck attacked Prague in July 1648. He died 18 months later.