Question: What dynasty ruled Germany starting in 1024?
Sentence: In 1024, they were replaced by the Salian dynasty, who famously clashed with the papacy under Emperor Henry IV (r. 1084–1105) over church appointments as part of the Investiture Controversy.
Answer in sentence: yes