After a lot of arguing he resigned in 1927 and was replaced by his deputy , Erhard Heiden .
After much in-fighting he resigned in 1927 and was replaced by his deputy Erhard Heiden .