Answer
Walter Schellenberg replaced Wilhelm Canaris as head of foreign intelligence in 1944. Canaris was a long-time Nazi and a supporter of Hitler, but he became increasingly critical of the Nazi regime's policies, particularly its treatment of Jews and other minorities. In 1944, Canaris was involved in a plot to overthrow Hitler, and he was executed for treason.