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