 
 <prompt> Wetin happun later, na di papacy of Leo IX happun afta di Concordat of Worms. Leo IX na di Pope wey reign from 1049 to 1054, while di Concordat of Worms happun for 1122. Dis mean say di papacy of Leo IX happun before di Concordat of Worms. Dis two events dey show di power struggle between di papacy and di Holy Roman Emperor for control of di church for medieval Europe. Di Concordat of Worms na agreement wey settle di investiture controversy wey bin dey between di Pope and di Emperor on top who get di power to appoint bishops and abbots. Dis agreement help to define di relationship between di church and di state for di Holy Roman Empire. <response>: Monastic reform inspire change for inside church wey no be monastery. The ideas wey dem base am 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 start with argument over who go appoint bishops, but e turn to big fight over investiture, clerical marriage, and simony. The emperor believe say e get responsibility to protect the Church and e wan still get power 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 agreement of 1122 wey dem call the Concordat of Worms. The argument na big step for the formation of papal monarchy wey dey different and equal to lay authorities. E still make German princes get power pass German emperors. 