According to the Concordat of Worms, the Holy Roman Emperor agreed to abandon the Investiture Controversy. Also, they agreed to stop the practice of appointing bishops and abbots. In return, popes agreed that emperors could retain some control over the election of bishops and abbots.