 
 <prompt> Wetin happun first, di clash of an emperor with Gregory, or di year 1049? Based on di last question, write a context wey contain di answer. E fit be 1 - 20 sentences. Context: <response>: Monastic reform inspire change for inside church wey no be monastery. The ideas wey dem dey based on, Pope Leo IX carry am come papacy (pope 1049–1054), and e bring the ideology of clerical independence wey lead to the Investiture Controversy for late 11th century. Dis one involve Pope Gregory VII (pope 1073–85) and Emperor Henry IV, wey first start to dey fight over appointment of bishops, but e come turn to battle over investiture, clerical marriage, and simony. The emperor dey see am as hin responsibility to protect the Church and e still wan get right to appoint hin own people as bishops for hin land, but the papacy dey insist say the Church must dey independent from secular lords. Dem no fit settle dis matter after the compromise of 1122 wey dem call the Concordat of Worms. The fight na important stage for the creation of papal monarchy wey dey separate and equal to lay authorities. E still get permanent consequence of making German princes get power pass German emperors. 