As queen, Urraca rose to the challenges presented to her and her solutions were pragmatic ones, according to Reilly, and laid the foundation for the reign of her son Alfonso VII, who in spite of the opposition of Urraca's lover Pedro González de Lara succeeded to the throne of a kingdom whole and at peace at Urraca’s death in 1126.