 Her exact motive is unclear, although his fiefs were confiscated.Pedro remained a royal prisoner at least until Urraca's death, and his sons continued to support her enemy, Theresa of Portugal.The "Chronicon iriense", a history of the diocese of Santiago de Compostela, may have been written between the years 1121, when Pedro and the Galician magnates were forced to swear oaths to Bishop Diego, and 1123, when Pedro and his sons were imprisoned by the queen.