The end of lay investiture meant an important loss of royal power , for the benefit Church reform , as the pope intended , and for ambitious noblemen as well . The end of lay investiture threatened to undercut the power of the Empire and the ambitions of noblemen for the benefit of Church reform .